[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/process.c,v
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] Changes to emacs/src/process.c,v |
Date: |
Sat, 17 Mar 2007 18:24:46 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Chong Yidong <cyd> 07/03/17 18:24:46
Index: process.c
===================================================================
RCS file: /sources/emacs/emacs/src/process.c,v
retrieving revision 1.503
retrieving revision 1.504
diff -u -b -r1.503 -r1.504
--- process.c 17 Mar 2007 18:16:03 -0000 1.503
+++ process.c 17 Mar 2007 18:24:46 -0000 1.504
@@ -817,7 +817,7 @@
Lisp_Object symbol;
/* Assignment to EMACS_INT stops GCC whining about limited range
of data type. */
- EMACS_INT pid = p->pid;;
+ EMACS_INT pid = p->pid;
/* No problem storing the pid here, as it is still in Vprocess_alist. */
deleted_pid_list = Fcons (make_fixnum_or_float (pid),
@@ -830,7 +830,8 @@
if (CONSP (p->status))
symbol = XCAR (p->status);
if (EQ (symbol, Qsignal) || EQ (symbol, Qexit))
- Fdelete (make_fixnum_or_float (pid), deleted_pid_list);
+ deleted_pid_list
+ = Fdelete (make_fixnum_or_float (pid), deleted_pid_list);
else
#endif
{
@@ -1818,7 +1819,8 @@
char **new_argv;
Lisp_Object current_dir;
{
- int pid, inchannel, outchannel;
+ int inchannel, outchannel;
+ pid_t pid;
int sv[2];
#ifdef POSIX_SIGNALS
sigset_t procmask;
@@ -6495,14 +6497,15 @@
#define WUNTRACED 0
#endif /* no WUNTRACED */
/* Keep trying to get a status until we get a definitive result. */
- while (1) {
+ while (1)
+ {
errno = 0;
pid = wait3 (&w, WNOHANG | WUNTRACED, 0);
if (! (pid < 0 && errno == EINTR))
break;
- /* avoid a busyloop: wait3 is a system call, so we do not want
+ /* Avoid a busyloop: wait3 is a system call, so we do not want
to prevent the kernel from actually sending SIGCHLD to emacs
- by asking for it all the time */
+ by asking for it all the time. */
sleep (1);
}
- [Emacs-diffs] Changes to emacs/src/process.c,v, Kenichi Handa, 2007/03/01
- [Emacs-diffs] Changes to emacs/src/process.c,v, Sam Steingold, 2007/03/11
- [Emacs-diffs] Changes to emacs/src/process.c,v, Sam Steingold, 2007/03/11
- [Emacs-diffs] Changes to emacs/src/process.c,v, Kim F. Storm, 2007/03/12
- [Emacs-diffs] Changes to emacs/src/process.c,v, Andreas Schwab, 2007/03/12
- [Emacs-diffs] Changes to emacs/src/process.c,v, Andreas Schwab, 2007/03/12
- [Emacs-diffs] Changes to emacs/src/process.c,v, Chong Yidong, 2007/03/17
- [Emacs-diffs] Changes to emacs/src/process.c,v,
Chong Yidong <=
- [Emacs-diffs] Changes to emacs/src/process.c,v, YAMAMOTO Mitsuharu, 2007/03/20
- [Emacs-diffs] Changes to emacs/src/process.c,v, Sam Steingold, 2007/03/24
- [Emacs-diffs] Changes to emacs/src/process.c,v, Sam Steingold, 2007/03/25
- [Emacs-diffs] Changes to emacs/src/process.c,v, Juanma Barranquero, 2007/03/27
- [Emacs-diffs] Changes to emacs/src/process.c,v, Juanma Barranquero, 2007/03/29
- [Emacs-diffs] Changes to emacs/src/process.c,v, Kim F. Storm, 2007/03/29