bug-gnulib
[Top][All Lists]
Advanced

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

Re: read-file


From: Paul Eggert
Subject: Re: read-file
Date: Mon, 19 Jun 2006 00:42:46 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

address@hidden (Larry Jones) writes:

> Simon Josefsson writes:
>> 
>> I believe the one in glibc does.  Also, 1003.1-2004 says malloc should
>> set errno:
>
> But the C Standard doesn't.  All the world isn't POSIX.

Yes, but it doesn't hurt to report the same errno that malloc
reported.  If malloc conforms to POSIX, then the errno will be useful.
If not, then you haven't lost much.

Other modules (e.g., getcwd) that are taken from glibc do
something similar, so read-file would be in good company here.




reply via email to

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