1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

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.
This commit is contained in:
Pierre Beyssac 2003-09-04 13:21:38 +00:00
parent e6b7afa962
commit 502650c7f5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88531
2 changed files with 12 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= birda
PORTVERSION= 1.00
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= comms
MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/

View File

@ -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);