diff options
| author | Stefan Monnier | 2007-06-29 03:37:33 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-06-29 03:37:33 +0000 |
| commit | 8e50cc2df8df6f773422ab11805704eaa4bba016 (patch) | |
| tree | 5041fa64f3f1bc6d4ffd1465a88a40055b7b39ab /src/process.c | |
| parent | df2d551eba1af9966308bb70da6dd5f4e03b650e (diff) | |
| download | emacs-8e50cc2df8df6f773422ab11805704eaa4bba016.tar.gz emacs-8e50cc2df8df6f773422ab11805704eaa4bba016.zip | |
Replace uses of GC_* macros with the non-GC_ versions.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/process.c b/src/process.c index be88ba25123..067eae7f286 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -176,8 +176,8 @@ extern Lisp_Object QCfilter; | |||
| 176 | Qt nor Qnil but is instead a property list (KEY VAL ...). */ | 176 | Qt nor Qnil but is instead a property list (KEY VAL ...). */ |
| 177 | 177 | ||
| 178 | #ifdef HAVE_SOCKETS | 178 | #ifdef HAVE_SOCKETS |
| 179 | #define NETCONN_P(p) (GC_CONSP (XPROCESS (p)->childp)) | 179 | #define NETCONN_P(p) (CONSP (XPROCESS (p)->childp)) |
| 180 | #define NETCONN1_P(p) (GC_CONSP ((p)->childp)) | 180 | #define NETCONN1_P(p) (CONSP ((p)->childp)) |
| 181 | #else | 181 | #else |
| 182 | #define NETCONN_P(p) 0 | 182 | #define NETCONN_P(p) 0 |
| 183 | #define NETCONN1_P(p) 0 | 183 | #define NETCONN1_P(p) 0 |
| @@ -6372,10 +6372,10 @@ kill_buffer_processes (buffer) | |||
| 6372 | { | 6372 | { |
| 6373 | Lisp_Object tail, proc; | 6373 | Lisp_Object tail, proc; |
| 6374 | 6374 | ||
| 6375 | for (tail = Vprocess_alist; GC_CONSP (tail); tail = XCDR (tail)) | 6375 | for (tail = Vprocess_alist; CONSP (tail); tail = XCDR (tail)) |
| 6376 | { | 6376 | { |
| 6377 | proc = XCDR (XCAR (tail)); | 6377 | proc = XCDR (XCAR (tail)); |
| 6378 | if (GC_PROCESSP (proc) | 6378 | if (PROCESSP (proc) |
| 6379 | && (NILP (buffer) || EQ (XPROCESS (proc)->buffer, buffer))) | 6379 | && (NILP (buffer) || EQ (XPROCESS (proc)->buffer, buffer))) |
| 6380 | { | 6380 | { |
| 6381 | if (NETCONN_P (proc)) | 6381 | if (NETCONN_P (proc)) |
| @@ -6470,11 +6470,11 @@ sigchld_handler (signo) | |||
| 6470 | /* Find the process that signaled us, and record its status. */ | 6470 | /* Find the process that signaled us, and record its status. */ |
| 6471 | 6471 | ||
| 6472 | /* The process can have been deleted by Fdelete_process. */ | 6472 | /* The process can have been deleted by Fdelete_process. */ |
| 6473 | for (tail = deleted_pid_list; GC_CONSP (tail); tail = XCDR (tail)) | 6473 | for (tail = deleted_pid_list; CONSP (tail); tail = XCDR (tail)) |
| 6474 | { | 6474 | { |
| 6475 | Lisp_Object xpid = XCAR (tail); | 6475 | Lisp_Object xpid = XCAR (tail); |
| 6476 | if ((GC_INTEGERP (xpid) && pid == (pid_t) XINT (xpid)) | 6476 | if ((INTEGERP (xpid) && pid == (pid_t) XINT (xpid)) |
| 6477 | || (GC_FLOATP (xpid) && pid == (pid_t) XFLOAT_DATA (xpid))) | 6477 | || (FLOATP (xpid) && pid == (pid_t) XFLOAT_DATA (xpid))) |
| 6478 | { | 6478 | { |
| 6479 | XSETCAR (tail, Qnil); | 6479 | XSETCAR (tail, Qnil); |
| 6480 | goto sigchld_end_of_loop; | 6480 | goto sigchld_end_of_loop; |
| @@ -6483,11 +6483,11 @@ sigchld_handler (signo) | |||
| 6483 | 6483 | ||
| 6484 | /* Otherwise, if it is asynchronous, it is in Vprocess_alist. */ | 6484 | /* Otherwise, if it is asynchronous, it is in Vprocess_alist. */ |
| 6485 | p = 0; | 6485 | p = 0; |
| 6486 | for (tail = Vprocess_alist; GC_CONSP (tail); tail = XCDR (tail)) | 6486 | for (tail = Vprocess_alist; CONSP (tail); tail = XCDR (tail)) |
| 6487 | { | 6487 | { |
| 6488 | proc = XCDR (XCAR (tail)); | 6488 | proc = XCDR (XCAR (tail)); |
| 6489 | p = XPROCESS (proc); | 6489 | p = XPROCESS (proc); |
| 6490 | if (GC_EQ (p->childp, Qt) && p->pid == pid) | 6490 | if (EQ (p->childp, Qt) && p->pid == pid) |
| 6491 | break; | 6491 | break; |
| 6492 | p = 0; | 6492 | p = 0; |
| 6493 | } | 6493 | } |
| @@ -6495,7 +6495,7 @@ sigchld_handler (signo) | |||
| 6495 | /* Look for an asynchronous process whose pid hasn't been filled | 6495 | /* Look for an asynchronous process whose pid hasn't been filled |
| 6496 | in yet. */ | 6496 | in yet. */ |
| 6497 | if (p == 0) | 6497 | if (p == 0) |
| 6498 | for (tail = Vprocess_alist; GC_CONSP (tail); tail = XCDR (tail)) | 6498 | for (tail = Vprocess_alist; CONSP (tail); tail = XCDR (tail)) |
| 6499 | { | 6499 | { |
| 6500 | proc = XCDR (XCAR (tail)); | 6500 | proc = XCDR (XCAR (tail)); |
| 6501 | p = XPROCESS (proc); | 6501 | p = XPROCESS (proc); |