From: Ezra Peisach Date: Fri, 4 May 2001 18:59:20 +0000 (+0000) Subject: * open_slave.c (pty_open_slave): If revoke() present on system but X-Git-Tag: krb5-1.3-alpha1~1520 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d88aba1ad17ed2b956f4b85fa71190045aefcebc;p=krb5.git * open_slave.c (pty_open_slave): If revoke() present on system but VHANG_FIRST is not defined, declare local variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13231 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/pty/ChangeLog b/src/util/pty/ChangeLog index 41e6a3456..ef8e0b849 100644 --- a/src/util/pty/ChangeLog +++ b/src/util/pty/ChangeLog @@ -1,3 +1,8 @@ +2001-05-04 Ezra Peisach + + * open_slave.c (pty_open_slave): If revoke() present on system but + VHANG_FIRST is not defined, declare local variable. + 2001-05-04 Tom Yu * dump-utmp.c: Fix some off-by-one errors. Handle cases where we diff --git a/src/util/pty/open_slave.c b/src/util/pty/open_slave.c index 0e863d96a..235b8e8da 100644 --- a/src/util/pty/open_slave.c +++ b/src/util/pty/open_slave.c @@ -29,7 +29,7 @@ long pty_open_slave ( slave, fd) const char *slave; int *fd; { -#ifdef VHANG_FIRST +#if defined(VHANG_FIRST) || defined(HAVE_REVOKE) int vfd; #endif