bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] [PATCH 02/14] Do not use exit() with a magic number


From: Giuseppe Scrivano
Subject: Re: [Bug-wget] [PATCH 02/14] Do not use exit() with a magic number
Date: Thu, 12 Jun 2014 18:49:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

"Gisle Vanem" <address@hidden> writes:

> <address@hidden> wrote:
>
> ...
>
>> diff --git a/src/mswindows.c b/src/mswindows.c
>> index 179773e..c0d9be6 100644
>> --- a/src/mswindows.c
>> +++ b/src/mswindows.c
>> @@ -308,7 +308,7 @@ cleanup:
>>
>>   /* We're the parent.  If all is well, terminate.  */
>>   if (rv)
>> -    exit (0);
>> +    exit (WGET_EXIT_SUCCESS);
>
> This breaks compilation of mswindows.c as I wrote to Guiseppe
> privately; add "exits.h" at top.

thanks, I've fixed locally the source file, as you reported.

Regards,
Giuseppe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]