[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/4] Exec predicates now store which directory they want to r
Re: [PATCH 2/4] Exec predicates now store which directory they want to run in.
Mon, 12 Apr 2010 22:43:49 +0100
On Mon, Apr 12, 2010 at 5:06 PM, Eric Blake <address@hidden> wrote:
> On 04/10/2010 02:33 PM, James Youngman wrote:
>> (starting_dir): Remove devlaration of global variable.
>> (starting_desc): Remove devlaration of global variable.
> If you are already in an atexit handler, then you need to force non-zero
> exit status. It would be worth adding _exit(exit_failure) after that
> error() call (see gnulib's closeout.c for an example).
>> + err = (*callback)(usercontext);
> These days, it's both portable and less typing to write:
> err = callback (usercontext);