1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/comms/conserver-com/files/patch-group.c
Jun Kuriyama b64e38a747 - Unbreak on recent 8-current (after sgtty changes).
- Bump PORTREVISION for safety by minor logic change.

Submitted by:	ed@FreeBSD.org
PR:	  	ports/124485
2008-07-02 23:15:03 +00:00

19 lines
543 B
C

--- conserver/group.c.orig 2008-07-03 08:06:56.000000000 +0900
+++ conserver/group.c 2008-07-03 08:08:28.000000000 +0900
@@ -3839,12 +3839,10 @@
"failed]\r\n", -1);
continue;
}
- if (TAB3 == (TABDLY & sbuf.c_oflag)) {
- sbuf.c_oflag &= ~TABDLY;
- sbuf.c_oflag |= TAB0;
+ if (sbuf.c_oflag & OXTABS) {
+ sbuf.c_oflag &= ~OXTABS;
} else {
- sbuf.c_oflag &= ~TABDLY;
- sbuf.c_oflag |= TAB3;
+ sbuf.c_oflag |= OXTABS;
}
if (-1 ==
tcsetattr(FileFDNum