1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

distributed version 0.1.0

This commit is contained in:
Werner Koch 1998-01-06 09:17:55 +00:00
parent b83f687379
commit 6e0fd3df65
5 changed files with 19 additions and 13 deletions

View file

@ -41,7 +41,11 @@ init_ttyfp()
if( ttyfp )
return;
#if defined(__MINGW32__)
ttyfp = stderr; /* fixme */
#else
ttyfp = fopen("/dev/tty", "r+");
#endif
if( !ttyfp )
log_fatal("cannot open /dev/tty: %s\n", strerror(errno) );
}