fix trouble with tkyap (Kerri Harris)

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1548 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2006-02-20 13:18:08 +00:00
parent b07720e147
commit 2de3fd9474
3 changed files with 8 additions and 6 deletions

View File

@@ -1333,7 +1333,7 @@ HandleSIGINT (int sig)
my_signal(SIGINT, HandleSIGINT);
/* do this before we act */
#if HAVE_ISATTY
if (!isatty(0)) {
if (!isatty(0) && !Yap_sockets_io) {
Yap_Error(INTERRUPT_ERROR,MkIntTerm(SIGINT),NULL);
}
#endif