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:
@@ -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
|
||||
|
Reference in New Issue
Block a user