diff options
Diffstat (limited to 'g10/status.c')
-rw-r--r-- | g10/status.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/g10/status.c b/g10/status.c index 116d146de..6c1388316 100644 --- a/g10/status.c +++ b/g10/status.c @@ -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; |