summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--openbsd-compat/readpassphrase.c5
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b3a312d9..3f6388b5e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120011025
2 - (bal) Use VDISABLE if _POSIX_VDISABLE is set in readpassphrase.c. Patch
3 by todd@
4
120011024 520011024
2 - (bal) Should be 3.0p1 not 3.0p2. Corrected version.h already. 6 - (bal) Should be 3.0p1 not 3.0p2. Corrected version.h already.
3 - (tim) configure.in -> configure.ac 7 - (tim) configure.in -> configure.ac
@@ -6756,4 +6760,4 @@
6756 - Wrote replacements for strlcpy and mkdtemp 6760 - Wrote replacements for strlcpy and mkdtemp
6757 - Released 1.0pre1 6761 - Released 1.0pre1
6758 6762
6759$Id: ChangeLog,v 1.1616 2001/10/25 04:15:26 tim Exp $ 6763$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 8e5785520..fdef15809 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
42# define _T_FLUSH (TCSAFLUSH) 42# define _T_FLUSH (TCSAFLUSH)
43#endif 43#endif
44 44
45/* SunOS 4.x which lacks _POSIX_VDISABLE, but has VDISABLE */
46#if !defined(_POSIX_VDISABLE) && defined(VDISABLE)
47# define _POSIX_VDISABLE VDISABLE
48#endif
49
45char * 50char *
46readpassphrase(prompt, buf, bufsiz, flags) 51readpassphrase(prompt, buf, bufsiz, flags)
47 const char *prompt; 52 const char *prompt;