Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2001 15:34:33 -0500
From:      Alfred Perlstein <bright@mu.org>
To:        Toshihiko ARAI <toshi@jp.FreeBSD.org>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: Doubt of system(3)
Message-ID:  <20010929153433.U59854@elvis.mu.org>
In-Reply-To: <200109291527.f8TFRrU76727.toshi@jp.FreeBSD.org>; from toshi@jp.FreeBSD.org on Sun, Sep 30, 2001 at 12:27:54AM %2B0900
References:  <200109291527.f8TFRrU76727.toshi@jp.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Toshihiko ARAI <toshi@jp.FreeBSD.org> [010929 11:10] wrote:
> I consider the following code of system(3).  pid is changed by return
> value of _wait4().  I feel this need a correction.
> 
>         default:                        /* parent */
>                 do {
>                         pid = _wait4(pid, &pstat, 0, (struct rusage *)0);
>                 } while (pid == -1 && errno == EINTR);
>                 break;
> 
> Please review and commit this patch.

Why does it need to be corrected?  What sort of bad behaviour
are you seeing?  You do 'a' and you see 'b' when you should
see 'c'.

What's a, b and c?

-- 
-Alfred Perlstein [alfred@freebsd.org]
'Instead of asking why a piece of software is using "1970s technology,"
start asking why software is ignoring 30 years of accumulated wisdom.'

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010929153433.U59854>