[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getline() behaviour change
From: |
Jim Meyering |
Subject: |
Re: getline() behaviour change |
Date: |
Thu, 23 Aug 2007 08:16:35 +0200 |
Ben Pfaff <address@hidden> wrote:
> Bruno Haible <address@hidden> writes:
>
>> Jim Meyering wrote:
>>> A *lot* of code expects malloc and realloc to set errno when they fail.
>>
>> Such code is not portable to plain ISO C 99 systems.
>
> We could extend gnulib's existing malloc/realloc wrappers to
> ensure that malloc/realloc set errno when they fail, if it is
> worthwhile to do so.
It is definitely worthwhile to do so.
- Re: getline.h, (continued)
- Re: getline() behaviour change, Bruno Haible, 2007/08/22
- Re: getline() behaviour change, Jim Meyering, 2007/08/22
- Re: getline() behaviour change, Bruno Haible, 2007/08/22
- Re: getline() behaviour change, Ben Pfaff, 2007/08/22
- Re: getline() behaviour change, Eric Blake, 2007/08/22
- Re: getline() behaviour change, Jim Meyering, 2007/08/24
- Re: getline() behaviour change,
Jim Meyering <=
- do not set errno after failing malloc [Re: getline() behaviour change, Jim Meyering, 2007/08/23
- Re: getline() behaviour change, Eric Blake, 2007/08/22