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 @@ | |||
1 | 20011025 | ||
2 | - (bal) Use VDISABLE if _POSIX_VDISABLE is set in readpassphrase.c. Patch | ||
3 | by todd@ | ||
4 | |||
1 | 20011024 | 5 | 20011024 |
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 | |||
45 | char * | 50 | char * |
46 | readpassphrase(prompt, buf, bufsiz, flags) | 51 | readpassphrase(prompt, buf, bufsiz, flags) |
47 | const char *prompt; | 52 | const char *prompt; |