[ clisp-Bugs-2022970 ] batch ssh and finish-output don't play nice

View: New views
1 Messages — Rating Filter:   Alert me  

[ clisp-Bugs-2022970 ] batch ssh and finish-output don't play nice

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bugs item #2022970, was opened at 2008-07-20 20:11
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Kim Minh KAPLAN (kmkaplan)
Assigned to: Nobody/Anonymous (nobody)
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


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101355&aid=2022970&group_id=1355

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
clisp-devel mailing list
clisp-devel@...
https://lists.sourceforge.net/lists/listinfo/clisp-devel
LightInTheBox - Buy quality products at wholesale price