Index: src/ChangeLog =================================================================== RCS file: /sources/emacs/emacs/src/ChangeLog,v retrieving revision 1.5087 diff -c -B -b -r1.5087 ChangeLog *** src/ChangeLog 24 May 2006 16:58:47 -0000 1.5087 --- src/ChangeLog 25 May 2006 10:55:02 -0000 *************** *** 1,3 **** --- 1,8 ---- + 2006-05-25 Michaël Cadilhac + + * process.c (Fdelete_process): Wait for process termination to + avoid `sigchld_handler' to consider the process to be synchronous. + 2006-05-24 Luc Teirlinck * puresize.h (BASE_PURESIZE): Increase to 1210000. Index: src/process.c =================================================================== RCS file: /sources/emacs/emacs/src/process.c,v retrieving revision 1.481 diff -c -B -b -r1.481 process.c *** src/process.c 8 May 2006 05:19:42 -0000 1.481 --- src/process.c 25 May 2006 10:55:02 -0000 *************** *** 800,805 **** --- 800,806 ---- else if (XINT (p->infd) >= 0) { Fkill_process (process, Qnil); + wait_for_termination (p->pid); /* Do this now, since remove_process will make sigchld_handler do nothing. */ p->status = Fcons (Qsignal, Fcons (make_number (SIGKILL), Qnil));