lkml.org 
[lkml]   [1999]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: fork or exec thingy.
On Sat, Jul 24, 1999 at 08:20:22PM -0700, Borislav Deianov wrote:
> The call to close_pgrp_pipe just calls close a couple of times. Even
> though it doesn't check for the return value of close, errno should
> not contain ECHILD.

This looks like a bug in the SIGCHLD handler of bash. It doesn't save
errno, therefore cluttering the errno value of whatever code was
interrupted by SIGCHLD.

But this bug only explains the unexpected error message, not why there
is an error.

--
Jan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:1.988 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site