summaryrefslogtreecommitdiffstats
path: root/french/xtel/files/patch-modem.c
blob: ca91118f383a10fbe6356f7a460581ebfcb2703a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- modem.c.orig	Tue Feb 13 10:39:23 2001
+++ modem.c	Tue Jul 24 00:03:52 2001
@@ -307,14 +307,14 @@
      *  (comme le Hayes Optima par exemple)...
      */
 #ifdef USE_TERMIOS
-    ioctl (fd, TCIOCGETA, &term);
+    ioctl (fd, TIOCGETA, &term);
 #else
     ioctl (fd, TCGETA, &term);
 #endif /* USE_TERMIOS */
     if ((term.c_cflag | CLOCAL) == 0) {
 	term.c_cflag |= CLOCAL;
 #ifdef USE_TERMIOS
-	ioctl (fd, TCIOCSETA, &term);
+	ioctl (fd, TIOCSETA, &term);
 #else
 	ioctl (fd, TCSETA, &term);
 #endif /* USE_TERMIOS */
@@ -592,7 +592,7 @@
     if (cmodem) {
 	term.c_cflag &= ~CLOCAL;
 #ifdef USE_TERMIOS
-	ioctl (fd, TCIOCSETA, &term);
+	ioctl (fd, TIOCSETA, &term);
 #else
 	ioctl (fd, TCSETA, &term);
 #endif /* USE_TERMIOS */
OpenPOWER on IntegriCloud