mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-10 04:50:03 -04:00
21 lines
444 B
Plaintext
21 lines
444 B
Plaintext
$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;
|