diff options
Diffstat (limited to 'src/sysdep.c')
| -rw-r--r-- | src/sysdep.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index d9e239d77c3..01ca905a987 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -2159,7 +2159,7 @@ serial_configure (struct Lisp_Process *p, | |||
| 2159 | int err = -1; | 2159 | int err = -1; |
| 2160 | char summary[4] = "???"; /* This usually becomes "8N1". */ | 2160 | char summary[4] = "???"; /* This usually becomes "8N1". */ |
| 2161 | 2161 | ||
| 2162 | childp2 = Fcopy_sequence (PGET (p, childp)); | 2162 | childp2 = Fcopy_sequence (p->childp); |
| 2163 | 2163 | ||
| 2164 | /* Read port attributes and prepare default configuration. */ | 2164 | /* Read port attributes and prepare default configuration. */ |
| 2165 | err = tcgetattr (p->outfd, &attr); | 2165 | err = tcgetattr (p->outfd, &attr); |
| @@ -2177,7 +2177,7 @@ serial_configure (struct Lisp_Process *p, | |||
| 2177 | if (!NILP (Fplist_member (contact, QCspeed))) | 2177 | if (!NILP (Fplist_member (contact, QCspeed))) |
| 2178 | tem = Fplist_get (contact, QCspeed); | 2178 | tem = Fplist_get (contact, QCspeed); |
| 2179 | else | 2179 | else |
| 2180 | tem = Fplist_get (PGET (p, childp), QCspeed); | 2180 | tem = Fplist_get (p->childp, QCspeed); |
| 2181 | CHECK_NUMBER (tem); | 2181 | CHECK_NUMBER (tem); |
| 2182 | err = cfsetspeed (&attr, XINT (tem)); | 2182 | err = cfsetspeed (&attr, XINT (tem)); |
| 2183 | if (err != 0) | 2183 | if (err != 0) |
| @@ -2189,7 +2189,7 @@ serial_configure (struct Lisp_Process *p, | |||
| 2189 | if (!NILP (Fplist_member (contact, QCbytesize))) | 2189 | if (!NILP (Fplist_member (contact, QCbytesize))) |
| 2190 | tem = Fplist_get (contact, QCbytesize); | 2190 | tem = Fplist_get (contact, QCbytesize); |
| 2191 | else | 2191 | else |
| 2192 | tem = Fplist_get (PGET (p, childp), QCbytesize); | 2192 | tem = Fplist_get (p->childp, QCbytesize); |
| 2193 | if (NILP (tem)) | 2193 | if (NILP (tem)) |
| 2194 | tem = make_number (8); | 2194 | tem = make_number (8); |
| 2195 | CHECK_NUMBER (tem); | 2195 | CHECK_NUMBER (tem); |
| @@ -2210,7 +2210,7 @@ serial_configure (struct Lisp_Process *p, | |||
| 2210 | if (!NILP (Fplist_member (contact, QCparity))) | 2210 | if (!NILP (Fplist_member (contact, QCparity))) |
| 2211 | tem = Fplist_get (contact, QCparity); | 2211 | tem = Fplist_get (contact, QCparity); |
| 2212 | else | 2212 | else |
| 2213 | tem = Fplist_get (PGET (p, childp), QCparity); | 2213 | tem = Fplist_get (p->childp, QCparity); |
| 2214 | if (!NILP (tem) && !EQ (tem, Qeven) && !EQ (tem, Qodd)) | 2214 | if (!NILP (tem) && !EQ (tem, Qeven) && !EQ (tem, Qodd)) |
| 2215 | error (":parity must be nil (no parity), `even', or `odd'"); | 2215 | error (":parity must be nil (no parity), `even', or `odd'"); |
| 2216 | #if defined (PARENB) && defined (PARODD) && defined (IGNPAR) && defined (INPCK) | 2216 | #if defined (PARENB) && defined (PARODD) && defined (IGNPAR) && defined (INPCK) |
| @@ -2243,7 +2243,7 @@ serial_configure (struct Lisp_Process *p, | |||
| 2243 | if (!NILP (Fplist_member (contact, QCstopbits))) | 2243 | if (!NILP (Fplist_member (contact, QCstopbits))) |
| 2244 | tem = Fplist_get (contact, QCstopbits); | 2244 | tem = Fplist_get (contact, QCstopbits); |
| 2245 | else | 2245 | else |
| 2246 | tem = Fplist_get (PGET (p, childp), QCstopbits); | 2246 | tem = Fplist_get (p->childp, QCstopbits); |
| 2247 | if (NILP (tem)) | 2247 | if (NILP (tem)) |
| 2248 | tem = make_number (1); | 2248 | tem = make_number (1); |
| 2249 | CHECK_NUMBER (tem); | 2249 | CHECK_NUMBER (tem); |
| @@ -2265,7 +2265,7 @@ serial_configure (struct Lisp_Process *p, | |||
| 2265 | if (!NILP (Fplist_member (contact, QCflowcontrol))) | 2265 | if (!NILP (Fplist_member (contact, QCflowcontrol))) |
| 2266 | tem = Fplist_get (contact, QCflowcontrol); | 2266 | tem = Fplist_get (contact, QCflowcontrol); |
| 2267 | else | 2267 | else |
| 2268 | tem = Fplist_get (PGET (p, childp), QCflowcontrol); | 2268 | tem = Fplist_get (p->childp, QCflowcontrol); |
| 2269 | if (!NILP (tem) && !EQ (tem, Qhw) && !EQ (tem, Qsw)) | 2269 | if (!NILP (tem) && !EQ (tem, Qhw) && !EQ (tem, Qsw)) |
| 2270 | error (":flowcontrol must be nil (no flowcontrol), `hw', or `sw'"); | 2270 | error (":flowcontrol must be nil (no flowcontrol), `hw', or `sw'"); |
| 2271 | #if defined (CRTSCTS) | 2271 | #if defined (CRTSCTS) |