mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
015ee1e8e6
PR: 29286 Submitted by: Thierry Thomas (<thierry@thomas.as>)
29 lines
735 B
C
29 lines
735 B
C
--- 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 */
|