aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorKenichi Handa1997-07-02 12:54:06 +0000
committerKenichi Handa1997-07-02 12:54:06 +0000
commit715f75777f53d0d61ef0d3792d50b4216da8ceda (patch)
tree799d31edf815dc5b09f90c2447b5a154a7f865c6 /src/process.c
parent08ee4e8761bf2a384f729c0224c059599b151f81 (diff)
downloademacs-715f75777f53d0d61ef0d3792d50b4216da8ceda.tar.gz
emacs-715f75777f53d0d61ef0d3792d50b4216da8ceda.zip
(Fstart_process): Call Ffind_operation_coding_system.
(Fopen_network_stream): Likewise.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/process.c b/src/process.c
index 7ac4175aa35..e718533f035 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1169,7 +1169,7 @@ Remaining arguments are strings to give program as arguments.")
1169 else 1169 else
1170 { 1170 {
1171 /* Setup coding systems for communicating with the process. */ 1171 /* Setup coding systems for communicating with the process. */
1172 /* Qt denotes that we have not yet called Ffind_coding_system. */ 1172 /* Qt denotes we have not yet called Ffind_operation_coding_system. */
1173 Lisp_Object coding_systems = Qt; 1173 Lisp_Object coding_systems = Qt;
1174 Lisp_Object val, *args2; 1174 Lisp_Object val, *args2;
1175 struct gcpro gcpro1; 1175 struct gcpro gcpro1;
@@ -1180,7 +1180,7 @@ Remaining arguments are strings to give program as arguments.")
1180 args2[0] = Qstart_process; 1180 args2[0] = Qstart_process;
1181 for (i = 0; i < nargs; i++) args2[i + 1] = args[i]; 1181 for (i = 0; i < nargs; i++) args2[i + 1] = args[i];
1182 GCPRO1 (proc); 1182 GCPRO1 (proc);
1183 coding_systems = Ffind_coding_system (nargs + 1, args2); 1183 coding_systems = Ffind_operation_coding_system (nargs + 1, args2);
1184 UNGCPRO; 1184 UNGCPRO;
1185 if (CONSP (coding_systems)) 1185 if (CONSP (coding_systems))
1186 val = XCONS (coding_systems)->car; 1186 val = XCONS (coding_systems)->car;
@@ -1197,7 +1197,8 @@ Remaining arguments are strings to give program as arguments.")
1197 args2[0] = Qstart_process; 1197 args2[0] = Qstart_process;
1198 for (i = 0; i < nargs; i++) args2[i + 1] = args[i]; 1198 for (i = 0; i < nargs; i++) args2[i + 1] = args[i];
1199 GCPRO1 (proc); 1199 GCPRO1 (proc);
1200 coding_systems = Ffind_coding_system (nargs + 1, args2); 1200 coding_systems =
1201 Ffind_operation_coding_system (nargs + 1, args2);
1201 UNGCPRO; 1202 UNGCPRO;
1202 } 1203 }
1203 if (CONSP (coding_systems)) 1204 if (CONSP (coding_systems))
@@ -1902,7 +1903,7 @@ Fourth arg SERVICE is name of the service desired, or an integer\n\
1902 { 1903 {
1903 /* Setup coding systems for communicating with the network stream. */ 1904 /* Setup coding systems for communicating with the network stream. */
1904 struct gcpro gcpro1; 1905 struct gcpro gcpro1;
1905 /* Qt denotes that we have not yet called Ffind_coding_system. */ 1906 /* Qt denotes we have not yet called Ffind_operation_coding_system. */
1906 Lisp_Object coding_systems = Qt; 1907 Lisp_Object coding_systems = Qt;
1907 Lisp_Object args[5], val; 1908 Lisp_Object args[5], val;
1908 1909
@@ -1911,7 +1912,7 @@ Fourth arg SERVICE is name of the service desired, or an integer\n\
1911 args[0] = Qopen_network_stream, args[1] = name, 1912 args[0] = Qopen_network_stream, args[1] = name,
1912 args[2] = buffer, args[3] = host, args[4] = service; 1913 args[2] = buffer, args[3] = host, args[4] = service;
1913 GCPRO1 (proc); 1914 GCPRO1 (proc);
1914 coding_systems = Ffind_coding_system (5, args); 1915 coding_systems = Ffind_operation_coding_system (5, args);
1915 UNGCPRO; 1916 UNGCPRO;
1916 if (CONSP (coding_systems)) 1917 if (CONSP (coding_systems))
1917 val = XCONS (coding_systems)->car; 1918 val = XCONS (coding_systems)->car;
@@ -1927,7 +1928,7 @@ Fourth arg SERVICE is name of the service desired, or an integer\n\
1927 args[0] = Qopen_network_stream, args[1] = name, 1928 args[0] = Qopen_network_stream, args[1] = name,
1928 args[2] = buffer, args[3] = host, args[4] = service; 1929 args[2] = buffer, args[3] = host, args[4] = service;
1929 GCPRO1 (proc); 1930 GCPRO1 (proc);
1930 coding_systems = Ffind_coding_system (5, args); 1931 coding_systems = Ffind_operation_coding_system (5, args);
1931 UNGCPRO; 1932 UNGCPRO;
1932 } 1933 }
1933 if (CONSP (coding_systems)) 1934 if (CONSP (coding_systems))