[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: delete-process bug
From: |
Kim F. Storm |
Subject: |
Re: delete-process bug |
Date: |
Fri, 26 May 2006 01:51:52 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> +static Lisp_Object live_deleted_processes;
What about deleted_pid_list ?
> +
> DEFUN ("delete-process", Fdelete_process, Sdelete_process, 1, 1, 0,
> doc: /* Delete PROCESS: kill it and forget about it immediately.
> PROCESS may be a process, a buffer, the name of a process or buffer, or
> @@ -800,6 +807,9 @@
> else if (XINT (p->infd) >= 0)
> {
> Fkill_process (process, Qnil);
> + live_deleted_processes = Fcons (make_number (p->pid),
IIRC, using an EMACS_INT for storing pids was unsafe. Using a float is better.
> + tail = Fmemq (make_number (pid), live_deleted_processes);
Ditto.
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: Ispell loads dict twice., Michaël Cadilhac, 2006/05/23
- Re: Ispell loads dict twice., Agustin Martin, 2006/05/24
- delete-process bug (was: Ispell loads dict twice.), Michaël Cadilhac, 2006/05/25
- Re: delete-process bug (was: Ispell loads dict twice.), Agustin Martin, 2006/05/25
- Re: delete-process bug, Stefan Monnier, 2006/05/25
- Re: delete-process bug, David Kastrup, 2006/05/25
- Re: delete-process bug, Michaël Cadilhac, 2006/05/25
- Re: delete-process bug, David Kastrup, 2006/05/25
- Re: delete-process bug, Stefan Monnier, 2006/05/25
- Re: delete-process bug,
Kim F. Storm <=
- Re: delete-process bug, Richard Stallman, 2006/05/26
- Re: delete-process bug, Stefan Monnier, 2006/05/26
- Re: delete-process bug, Richard Stallman, 2006/05/25
- Re: delete-process bug, Michaël Cadilhac, 2006/05/26
- Re: delete-process bug, Richard Stallman, 2006/05/26
- Re: delete-process bug, Stefan Monnier, 2006/05/26
- Re: delete-process bug, Michael Mauger, 2006/05/26
- Re: delete-process bug, Michaël Cadilhac, 2006/05/27
- Re: delete-process bug, Stefan Monnier, 2006/05/27
- Re: delete-process bug, Michaël Cadilhac, 2006/05/27