aboutsummaryrefslogtreecommitdiffstats
path: root/comms/birda/files
diff options
context:
space:
mode:
authorpb <pb@FreeBSD.org>2003-09-04 21:21:38 +0800
committerpb <pb@FreeBSD.org>2003-09-04 21:21:38 +0800
commit2f4e31df883575c83e9cc9e5047cd6f5a756241d (patch)
tree590d9aa2a2a84c019c8b76b14d7533133cf86a1d /comms/birda/files
parentfd145df414518ffc498e4d44a03d475d7961448e (diff)
downloadfreebsd-ports-gnome-2f4e31df883575c83e9cc9e5047cd6f5a756241d.tar.gz
freebsd-ports-gnome-2f4e31df883575c83e9cc9e5047cd6f5a756241d.tar.zst
freebsd-ports-gnome-2f4e31df883575c83e9cc9e5047cd6f5a756241d.zip
Remove stdio buffering even when not on a tty or pty: this prevents
use of ircomm from a "set device" in ppp(8). Bump PORTREVISION.
Diffstat (limited to 'comms/birda/files')
-rw-r--r--comms/birda/files/patch-options.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/birda/files/patch-options.c b/comms/birda/files/patch-options.c
new file mode 100644
index 000000000000..a1a7b7717863
--- /dev/null
+++ b/comms/birda/files/patch-options.c
@@ -0,0 +1,11 @@
+--- src/options.c.orig Wed Jan 2 17:22:11 2002
++++ src/options.c Thu Aug 28 17:17:00 2003
+@@ -427,6 +427,8 @@
+ exit(-2);
+ }
+
++ setbuf(stdin, 0);
++ setbuf(stdout, 0);
+ if(pty && !openPty(pty)) {
+ log("Cannot open pty\n");
+ exit(-6);