summaryrefslogtreecommitdiff
path: root/security/cfs/patches/patch-ab
blob: f55d06f9d679836065eb4b7a2cddb8410984e901 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ab,v 1.3 2001/06/07 15:36:52 jlam Exp $

--- getpass.c.orig	Thu May 31 17:03:02 2001
+++ getpass.c	Thu May 31 17:03:40 2001
@@ -45,6 +45,7 @@
 #include "cfs.h"
 #include "shs.h"
 
+#ifndef HAVE_GETPASS
 #if defined(irix) || defined(linux)
 /* hacks to use POSIX style termios instead of old BSD style sgttyb */
 #include <termios.h>
@@ -95,6 +96,7 @@
 		fclose(fi);
 	return(pbuf);
 }
+#endif
 
 old_pwcrunch(b,k)
      char *b;