develooper Front page | perl.perl5.porters | Postings from January 2009

Re: [PATCH] about warnings if forks fail in Perl_my_popen

Thread Previous
From:
Rafael Garcia-Suarez
Date:
January 19, 2009 03:29
Subject:
Re: [PATCH] about warnings if forks fail in Perl_my_popen
Message ID:
b77c1dce0901190329o5a4ed425yc7322f80f210fce7@mail.gmail.com
2009/1/8 Slaven Rezic <srezic@iconmobile.com>:
> The patch adds some diagnostics in situations where a fork() during a
> piped open fails. These are:
> * Output the errno cause if the failure was non-EAGAIN (most probably
>  because of memory shortage)
> * Output a new warning if the failure was EAGAIN and perl is about to
>  sleep five seconds until the next try.

Thanks, applied as b3647a361211e9f2a6bf73

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About