aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32.c')
-rw-r--r--src/w32.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/w32.c b/src/w32.c
index 4c17ce899a7..61de234cf70 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -6890,7 +6890,7 @@ serial_configure (struct Lisp_Process *p, Lisp_Object contact)
6890 error ("Not a serial process"); 6890 error ("Not a serial process");
6891 hnd = fd_info[ p->outfd ].hnd; 6891 hnd = fd_info[ p->outfd ].hnd;
6892 6892
6893 childp2 = Fcopy_sequence (PGET (p, childp)); 6893 childp2 = Fcopy_sequence (p->childp);
6894 6894
6895 /* Initialize timeouts for blocking read and blocking write. */ 6895 /* Initialize timeouts for blocking read and blocking write. */
6896 if (!GetCommTimeouts (hnd, &ct)) 6896 if (!GetCommTimeouts (hnd, &ct))
@@ -6919,7 +6919,7 @@ serial_configure (struct Lisp_Process *p, Lisp_Object contact)
6919 if (!NILP (Fplist_member (contact, QCspeed))) 6919 if (!NILP (Fplist_member (contact, QCspeed)))
6920 tem = Fplist_get (contact, QCspeed); 6920 tem = Fplist_get (contact, QCspeed);
6921 else 6921 else
6922 tem = Fplist_get (PGET (p, childp), QCspeed); 6922 tem = Fplist_get (p->childp, QCspeed);
6923 CHECK_NUMBER (tem); 6923 CHECK_NUMBER (tem);
6924 dcb.BaudRate = XINT (tem); 6924 dcb.BaudRate = XINT (tem);
6925 childp2 = Fplist_put (childp2, QCspeed, tem); 6925 childp2 = Fplist_put (childp2, QCspeed, tem);
@@ -6928,7 +6928,7 @@ serial_configure (struct Lisp_Process *p, Lisp_Object contact)
6928 if (!NILP (Fplist_member (contact, QCbytesize))) 6928 if (!NILP (Fplist_member (contact, QCbytesize)))
6929 tem = Fplist_get (contact, QCbytesize); 6929 tem = Fplist_get (contact, QCbytesize);
6930 else 6930 else
6931 tem = Fplist_get (PGET (p, childp), QCbytesize); 6931 tem = Fplist_get (p->childp, QCbytesize);
6932 if (NILP (tem)) 6932 if (NILP (tem))
6933 tem = make_number (8); 6933 tem = make_number (8);
6934 CHECK_NUMBER (tem); 6934 CHECK_NUMBER (tem);
@@ -6942,7 +6942,7 @@ serial_configure (struct Lisp_Process *p, Lisp_Object contact)
6942 if (!NILP (Fplist_member (contact, QCparity))) 6942 if (!NILP (Fplist_member (contact, QCparity)))
6943 tem = Fplist_get (contact, QCparity); 6943 tem = Fplist_get (contact, QCparity);
6944 else 6944 else
6945 tem = Fplist_get (PGET (p, childp), QCparity); 6945 tem = Fplist_get (p->childp, QCparity);
6946 if (!NILP (tem) && !EQ (tem, Qeven) && !EQ (tem, Qodd)) 6946 if (!NILP (tem) && !EQ (tem, Qeven) && !EQ (tem, Qodd))
6947 error (":parity must be nil (no parity), `even', or `odd'"); 6947 error (":parity must be nil (no parity), `even', or `odd'");
6948 dcb.fParity = FALSE; 6948 dcb.fParity = FALSE;
@@ -6972,7 +6972,7 @@ serial_configure (struct Lisp_Process *p, Lisp_Object contact)
6972 if (!NILP (Fplist_member (contact, QCstopbits))) 6972 if (!NILP (Fplist_member (contact, QCstopbits)))
6973 tem = Fplist_get (contact, QCstopbits); 6973 tem = Fplist_get (contact, QCstopbits);
6974 else 6974 else
6975 tem = Fplist_get (PGET (p, childp), QCstopbits); 6975 tem = Fplist_get (p->childp, QCstopbits);
6976 if (NILP (tem)) 6976 if (NILP (tem))
6977 tem = make_number (1); 6977 tem = make_number (1);
6978 CHECK_NUMBER (tem); 6978 CHECK_NUMBER (tem);
@@ -6989,7 +6989,7 @@ serial_configure (struct Lisp_Process *p, Lisp_Object contact)
6989 if (!NILP (Fplist_member (contact, QCflowcontrol))) 6989 if (!NILP (Fplist_member (contact, QCflowcontrol)))
6990 tem = Fplist_get (contact, QCflowcontrol); 6990 tem = Fplist_get (contact, QCflowcontrol);
6991 else 6991 else
6992 tem = Fplist_get (PGET (p, childp), QCflowcontrol); 6992 tem = Fplist_get (p->childp, QCflowcontrol);
6993 if (!NILP (tem) && !EQ (tem, Qhw) && !EQ (tem, Qsw)) 6993 if (!NILP (tem) && !EQ (tem, Qhw) && !EQ (tem, Qsw))
6994 error (":flowcontrol must be nil (no flowcontrol), `hw', or `sw'"); 6994 error (":flowcontrol must be nil (no flowcontrol), `hw', or `sw'");
6995 dcb.fOutxCtsFlow = FALSE; 6995 dcb.fOutxCtsFlow = FALSE;