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

Minor changes done for the Windows binary

This commit is contained in:
Werner Koch 2000-10-23 16:38:27 +00:00
parent f8d6b32861
commit f2b8760f75
8 changed files with 32 additions and 8 deletions

View file

@ -360,7 +360,11 @@ myread(int fd, void *buf, size_t count)
eof_emmited++;
}
else { /* Ctrl-D not caught - do something reasonable */
#ifdef HAVE_DOSISH_SYSTEM
raise (SIGINT); /* nothing to hangup under DOS */
#else
raise (SIGHUP); /* no more input data */
#endif
}
}
return rc;