From: SourceForge.net <no...@so...> - 2008-07-21 02:37:41
|
Bugs item #2022970, was opened at 2008-07-20 14:11 Message generated for change (Comment added) made by sds You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=2022970&group_id=1355 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: clisp Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Private: No Submitted By: Kim Minh KAPLAN (kmkaplan) >Assigned to: Sam Steingold (sds) Summary: batch ssh and finish-output don't play nice Initial Comment: On a Linux system and clisp 2.41 I consistently get : $ ssh localhost clisp -norc -x "'(force-output)'" [...] *** - 1> UNIX error 14 (EFAULT): Bad address Here is the workaround I use but I do not really know what the correct fix should be. Kim Minh. --- clisp-2.41.orig/src/stream.d +++ clisp-2.41/src/stream.d @@ -3472,7 +3472,7 @@ #endif #ifdef UNIX_TERM_TERMIOS if (!( TCDRAIN(handle) ==0)) { - if (!((errno==ENOTTY)||(errno==EINVAL))) + if (!((errno==ENOTTY)||(errno==EINVAL)||(errno==EFAULT))) #ifdef UNIX_DARWIN if (!((errno==EOPNOTSUPP)||(errno==ENODEV))) #endif ---------------------------------------------------------------------- >Comment By: Sam Steingold (sds) Date: 2008-07-20 22:37 Message: Logged In: YES user_id=5735 Originator: NO already reported as https://sourceforge.net/tracker/index.php?func=detail&aid=1592343&group_id=1355&atid=101355 you workaround is wrong, IMO, because EFAULT is a very serious condition which should NEVER be ignored. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=2022970&group_id=1355 |