aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorPaul Eggert2011-03-19 19:40:14 -0700
committerPaul Eggert2011-03-19 19:40:14 -0700
commitb93aacde821363e25f86bad302cc2a8c32ff82ac (patch)
tree090d7a5c8af4617f4f394b048ddaab5546320797 /src/process.c
parentaf8a867c625d0ba45177795dea995a842b22e5f6 (diff)
downloademacs-b93aacde821363e25f86bad302cc2a8c32ff82ac.tar.gz
emacs-b93aacde821363e25f86bad302cc2a8c32ff82ac.zip
* process.c: Rename or move locals to avoid shadowing.
(list_processes_1, Fmake_network_process): (read_process_output_error_handler, exec_sentinel_error_handler): Rename or move locals.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/process.c b/src/process.c
index c9b420ab2ae..952bc8e23da 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1250,8 +1250,8 @@ Returns nil if format of ADDRESS is invalid. */)
1250static Lisp_Object 1250static Lisp_Object
1251list_processes_1 (Lisp_Object query_only) 1251list_processes_1 (Lisp_Object query_only)
1252{ 1252{
1253 register Lisp_Object tail, tem; 1253 register Lisp_Object tail;
1254 Lisp_Object proc, minspace, tem1; 1254 Lisp_Object proc, minspace;
1255 register struct Lisp_Process *p; 1255 register struct Lisp_Process *p;
1256 char tembuf[300]; 1256 char tembuf[300];
1257 int w_proc, w_buffer, w_tty; 1257 int w_proc, w_buffer, w_tty;
@@ -1453,10 +1453,10 @@ list_processes_1 (Lisp_Object query_only)
1453 } 1453 }
1454 else 1454 else
1455 { 1455 {
1456 tem = p->command; 1456 Lisp_Object tem = p->command;
1457 while (1) 1457 while (1)
1458 { 1458 {
1459 tem1 = Fcar (tem); 1459 Lisp_Object tem1 = Fcar (tem);
1460 if (NILP (tem1)) 1460 if (NILP (tem1))
1461 break; 1461 break;
1462 Finsert (1, &tem1); 1462 Finsert (1, &tem1);
@@ -3705,10 +3705,10 @@ usage: (make-network-process &rest ARGS) */)
3705 3705
3706 { 3706 {
3707 /* Setup coding systems for communicating with the network stream. */ 3707 /* Setup coding systems for communicating with the network stream. */
3708 struct gcpro gcpro1; 3708 struct gcpro inner_gcpro1;
3709 /* Qt denotes we have not yet called Ffind_operation_coding_system. */ 3709 /* Qt denotes we have not yet called Ffind_operation_coding_system. */
3710 Lisp_Object coding_systems = Qt; 3710 Lisp_Object coding_systems = Qt;
3711 Lisp_Object args[5], val; 3711 Lisp_Object fargs[5], val;
3712 3712
3713 if (!NILP (tem)) 3713 if (!NILP (tem))
3714 { 3714 {
@@ -3731,11 +3731,11 @@ usage: (make-network-process &rest ARGS) */)
3731 coding_systems = Qnil; 3731 coding_systems = Qnil;
3732 else 3732 else
3733 { 3733 {
3734 args[0] = Qopen_network_stream, args[1] = name, 3734 fargs[0] = Qopen_network_stream, fargs[1] = name,
3735 args[2] = buffer, args[3] = host, args[4] = service; 3735 fargs[2] = buffer, fargs[3] = host, fargs[4] = service;
3736 GCPRO1 (proc); 3736 GCPRO1_VAR (proc, inner_gcpro);
3737 coding_systems = Ffind_operation_coding_system (5, args); 3737 coding_systems = Ffind_operation_coding_system (5, fargs);
3738 UNGCPRO; 3738 UNGCPRO_VAR (inner_gcpro);
3739 } 3739 }
3740 if (CONSP (coding_systems)) 3740 if (CONSP (coding_systems))
3741 val = XCAR (coding_systems); 3741 val = XCAR (coding_systems);
@@ -3764,11 +3764,11 @@ usage: (make-network-process &rest ARGS) */)
3764 coding_systems = Qnil; 3764 coding_systems = Qnil;
3765 else 3765 else
3766 { 3766 {
3767 args[0] = Qopen_network_stream, args[1] = name, 3767 fargs[0] = Qopen_network_stream, fargs[1] = name,
3768 args[2] = buffer, args[3] = host, args[4] = service; 3768 fargs[2] = buffer, fargs[3] = host, fargs[4] = service;
3769 GCPRO1 (proc); 3769 GCPRO1_VAR (proc, inner_gcpro);
3770 coding_systems = Ffind_operation_coding_system (5, args); 3770 coding_systems = Ffind_operation_coding_system (5, fargs);
3771 UNGCPRO; 3771 UNGCPRO_VAR (inner_gcpro);
3772 } 3772 }
3773 } 3773 }
3774 if (CONSP (coding_systems)) 3774 if (CONSP (coding_systems))
@@ -5128,9 +5128,9 @@ read_process_output_call (Lisp_Object fun_and_args)
5128} 5128}
5129 5129
5130static Lisp_Object 5130static Lisp_Object
5131read_process_output_error_handler (Lisp_Object error) 5131read_process_output_error_handler (Lisp_Object error_val)
5132{ 5132{
5133 cmd_error_internal (error, "error in process filter: "); 5133 cmd_error_internal (error_val, "error in process filter: ");
5134 Vinhibit_quit = Qt; 5134 Vinhibit_quit = Qt;
5135 update_echo_area (); 5135 update_echo_area ();
5136 Fsleep_for (make_number (2), Qnil); 5136 Fsleep_for (make_number (2), Qnil);
@@ -6534,9 +6534,9 @@ exec_sentinel_unwind (Lisp_Object data)
6534} 6534}
6535 6535
6536static Lisp_Object 6536static Lisp_Object
6537exec_sentinel_error_handler (Lisp_Object error) 6537exec_sentinel_error_handler (Lisp_Object error_val)
6538{ 6538{
6539 cmd_error_internal (error, "error in process sentinel: "); 6539 cmd_error_internal (error_val, "error in process sentinel: ");
6540 Vinhibit_quit = Qt; 6540 Vinhibit_quit = Qt;
6541 update_echo_area (); 6541 update_echo_area ();
6542 Fsleep_for (make_number (2), Qnil); 6542 Fsleep_for (make_number (2), Qnil);