mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +02:00
First steps towards supporting W32.
This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
This commit is contained in:
parent
c2b08ff908
commit
2c9791db55
116 changed files with 2722 additions and 5565 deletions
|
@ -168,6 +168,8 @@ init_ttyfp(void)
|
|||
|
||||
#elif defined(__EMX__)
|
||||
ttyfp = stdout; /* Fixme: replace by the real functions: see wklib */
|
||||
if (my_rl_init_stream)
|
||||
my_rl_init_stream (ttyfp);
|
||||
#else
|
||||
ttyfp = batchmode? stderr : fopen (tty_get_ttyname (), "r+");
|
||||
if( !ttyfp ) {
|
||||
|
@ -175,10 +177,10 @@ init_ttyfp(void)
|
|||
strerror(errno) );
|
||||
exit(2);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (my_rl_init_stream)
|
||||
my_rl_init_stream (ttyfp);
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef HAVE_TCGETATTR
|
||||
atexit( cleanup );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue