Patches item #415475, was opened at 2001-04-11 10: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: Jeffrey Hobbs (hobbs)
Date: 2002-01-29 23: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