Patches item #415475, was opened at 2001-04-11 13:56
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=303152&aid=415475&group_id=3152

Category: aolserver3_3
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Connie Hentosh (chentosh)
Assigned to: Kriston Rehberg (kriston)
Summary: Tcl exec fails on OpenBSD 2.8

Initial Comment:
The tcl exec command fails under OpenBSD 2.8.  The read
on the pipe of the output from the command exec'd
receives a SIGCHLD.  The solutions is to wrap the read
in a loop and check for errno of EINTR within
tcl8.3.2/unix/tclUnixPipe.c.


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

>Comment By: Kriston Rehberg (kriston)
Date: 2002-03-20 11:37

Message:
Logged In: YES
user_id=16427

Can you check of tcl8.3.3+ or tcl 8.4.x addresses any of
this exec-related stuff?  See bug #415695.

Thanks!



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

Comment By: Jeffrey Hobbs (hobbs)
Date: 2002-01-30 02:37

Message:
Logged In: YES
user_id=72656

An alternative patch based on Tcl bug 415131 was used
instead that looks like:

    do {
        bytesRead = read (GetFd(psPtr->inFile), buf,
(size_t) toRead);
    } while ((bytesRead < 0) && (errno == EINTR));

This is already in Tcl 8.3.4, so this can be closed.

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

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=303152&aid=415475&group_id=3152

Reply via email to