bug-gnulib
[Top][All Lists]
Advanced

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

Re: getline() behaviour change


From: Ben Pfaff
Subject: Re: getline() behaviour change
Date: Wed, 22 Aug 2007 16:19:37 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

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.
-- 
Ben Pfaff 
http://benpfaff.org





reply via email to

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