This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug stdio/16069] printf rountines do not set errno for out of memory condition.


https://sourceware.org/bugzilla/show_bug.cgi?id=16069

Rich Felker <bugdal at aerifal dot cx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugdal at aerifal dot cx

--- Comment #2 from Rich Felker <bugdal at aerifal dot cx> ---
Andreas, could you clarify your comment. The bug report is that printf is not
setting errno itself on out-of-memory conditions, relying on malloc to have
done so already. I don't see this as a bug (rather, it's a buggy malloc
hook/implementation if it doesn't set errno properly), but I think there needs
to be either a citation of existing policy to such effect, or a policy
discussion, before closing this bug report as invalid.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]