diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-10-25 15:02:35 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-10-25 15:02:35 +0000 |
commit | a0bd44cc49a4b24869c952233b916961f67ac9a2 (patch) | |
tree | ed00d171377a6f1b4fbf275d00e91dba7f7dc889 | |
parent | 8ad995fd07876b6ca38c7a94a1896935d167b589 (diff) |
- (bal) Use VDISABLE if _POSIX_VDISABLE is set in readpassphrase.c. Patch
by todd@
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | openbsd-compat/readpassphrase.c | 5 |
2 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,7 @@ +20011025 + - (bal) Use VDISABLE if _POSIX_VDISABLE is set in readpassphrase.c. Patch + by todd@ + 20011024 - (bal) Should be 3.0p1 not 3.0p2. Corrected version.h already. - (tim) configure.in -> configure.ac @@ -6756,4 +6760,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.1616 2001/10/25 04:15:26 tim Exp $ +$Id: ChangeLog,v 1.1617 2001/10/25 15:02:35 mouring Exp $ diff --git a/openbsd-compat/readpassphrase.c b/openbsd-compat/readpassphrase.c index 8e578552..fdef1580 100644 --- a/openbsd-compat/readpassphrase.c +++ b/openbsd-compat/readpassphrase.c @@ -42,6 +42,11 @@ static char rcsid[] = "$OpenBSD: readpassphrase.c,v 1.5 2001/06/27 13:23:30 djm # define _T_FLUSH (TCSAFLUSH) #endif +/* SunOS 4.x which lacks _POSIX_VDISABLE, but has VDISABLE */ +#if !defined(_POSIX_VDISABLE) && defined(VDISABLE) +# define _POSIX_VDISABLE VDISABLE +#endif + char * readpassphrase(prompt, buf, bufsiz, flags) const char *prompt; |