[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.

reply via email to

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