[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in server-start
From: |
Ulrich Mueller |
Subject: |
Re: bug in server-start |
Date: |
Tue, 16 Dec 2008 17:01:19 +0100 |
>>>>> On Tue, 16 Dec 2008, Stefan Monnier wrote:
>> --- src/emacs.c
>> +++ src/emacs.c
>> @@ -1124,7 +1124,7 @@
>> }
>> while (retval == -1 && errno == EINTR);
>> - if (retval < 0)
>> + if (retval <= 0)
>> {
>> fprintf (stderr, "Error reading status from child\n");
>> exit (1);
> Indeed, we should return a non-zero status, but this patch ends up with
> this undesirable "Error reading status from child" message, so we want
> something better.
If only the error message is your concern, then one could check for
retval < 0 and retval == 0 separately.
Ulrich
- Re: bug in server-start, (continued)
- Re: bug in server-start, Dan Nicolaescu, 2008/12/15
- Re: bug in server-start, Juanma Barranquero, 2008/12/15
- Re: bug in server-start, Dan Nicolaescu, 2008/12/15
- Re: bug in server-start, Romain Francoise, 2008/12/15
- Re: bug in server-start, Ulrich Mueller, 2008/12/16
- Re: bug in server-start, Juanma Barranquero, 2008/12/16
- Re: bug in server-start, Ulrich Mueller, 2008/12/16
- Re: bug in server-start, Juanma Barranquero, 2008/12/16
- Re: bug in server-start, Ulrich Mueller, 2008/12/16
- Re: bug in server-start, Stefan Monnier, 2008/12/16
- Re: bug in server-start,
Ulrich Mueller <=
- Re: bug in server-start, Dan Nicolaescu, 2008/12/16
- Re: bug in server-start, Juanma Barranquero, 2008/12/16
- Re: bug in server-start, Dan Nicolaescu, 2008/12/16
- Re: bug in server-start, Juanma Barranquero, 2008/12/16
- Re: bug in server-start, Dan Nicolaescu, 2008/12/16
- Re: bug in server-start, Juanma Barranquero, 2008/12/16
- Re: bug in server-start, Dan Nicolaescu, 2008/12/16
- Re: bug in server-start, Juanma Barranquero, 2008/12/16
- Re: bug in server-start, Dan Nicolaescu, 2008/12/16
- Re: bug in server-start, Juanma Barranquero, 2008/12/16