]> git.pld-linux.org Git - packages/SysVinit.git/commitdiff
- patch fixes problems with serial 5.05 (enables CREAD on serial console)
authorMichal Moskal <michal@moskal.me>
Wed, 13 Jun 2001 12:21:44 +0000 (12:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sysvinit-cread.patch -> 1.1

sysvinit-cread.patch [new file with mode: 0644]

diff --git a/sysvinit-cread.patch b/sysvinit-cread.patch
new file mode 100644 (file)
index 0000000..165bd2c
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ur sysvinit-2.78/src/init.c sysvinit-2.78-/src/init.c
+--- sysvinit-2.78/src/init.c   Wed Jun 13 14:24:54 2001
++++ sysvinit-2.78-/src/init.c  Wed Jun 13 14:24:11 2001
+@@ -690,7 +690,7 @@
+               (void) tcgetattr(fd, &tty);
+               tty.c_cflag &= CBAUD|CBAUDEX|CSIZE|CSTOPB|PARENB|PARODD;
+-              tty.c_cflag |= HUPCL|CLOCAL;
++              tty.c_cflag |= HUPCL|CLOCAL|CREAD;
+               tty.c_cc[VINTR]  = 3;   /* ctrl('c') */
+               tty.c_cc[VQUIT]  = 28;  /* ctrl('\\') */
This page took 0.042632 seconds and 4 git commands to generate.