diff options
author | Will Andrews <will@FreeBSD.org> | 2001-12-25 21:39:56 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2001-12-25 21:39:56 +0000 |
commit | 015ee1e8e6f209d3cc081678e6a8521e21659902 (patch) | |
tree | 2166572e394142ec3b4c8ff982737a1ee1f94dd1 /french/xtel/files/patch-modem.c | |
parent | Add ruby-rdoc, RDoc - Documentation from Ruby source files. (diff) |
Add xtel 3.3.0, an emulator for the french Minitel.
PR: 29286
Submitted by: Thierry Thomas (<thierry@thomas.as>)
Diffstat (limited to 'french/xtel/files/patch-modem.c')
-rw-r--r-- | french/xtel/files/patch-modem.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/french/xtel/files/patch-modem.c b/french/xtel/files/patch-modem.c new file mode 100644 index 000000000000..ca91118f383a --- /dev/null +++ b/french/xtel/files/patch-modem.c @@ -0,0 +1,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 */ |