work-around for cygwin32
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1202 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -232,7 +232,9 @@ static int read_pw(buf, buff, size, prompt, verify)
|
||||
FILE *tty=NULL;
|
||||
char *p;
|
||||
|
||||
#ifndef MSDOS
|
||||
#ifdef __CYGWIN32__
|
||||
tty = stdin;
|
||||
#elif !defined(MSDOS)
|
||||
if ((tty=fopen("/dev/tty","r")) == NULL)
|
||||
tty=stdin;
|
||||
#else /* MSDOS */
|
||||
|
Reference in New Issue
Block a user