From b062b66e795c01de309dabaff66977b5d34c1e89 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 21 Jan 1998 02:47:18 +0000 Subject: [PATCH] * krlogind.c (protocol): Declare pibuf and fibuf as being BUFSIZ bytes long, rather than 1024. Fixes an Irix bug. [krb5-appl/527] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10354 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/ChangeLog | 5 +++++ src/appl/bsd/krlogind.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index aef57fc54..3beb9cf41 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,8 @@ +Tue Jan 20 21:42:06 1998 Tom Yu + + * krlogind.c (protocol): Declare pibuf and fibuf as being BUFSIZ + bytes long, rather than 1024. Fixes an Irix bug. [krb5-appl/527] + Fri Dec 19 18:19:42 1997 Dan Winship * login.c (try_afscall): try_afscall doesn't work / isn't needed diff --git a/src/appl/bsd/krlogind.c b/src/appl/bsd/krlogind.c index d68b7757c..d68a0d27f 100644 --- a/src/appl/bsd/krlogind.c +++ b/src/appl/bsd/krlogind.c @@ -905,7 +905,7 @@ int control(pty, cp, n) void protocol(f, p) int f, p; { - unsigned char pibuf[1024], fibuf[1024], *pbp, *fbp; + unsigned char pibuf[BUFSIZ], fibuf[BUFSIZ], *pbp, *fbp; register pcc = 0, fcc = 0; int cc; char cntl; -- 2.26.2