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:
parent
b83f687379
commit
6e0fd3df65
5 changed files with 19 additions and 13 deletions
|
@ -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) );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue