This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12625] mntent operations provide no indication of failure due to RLIMIT_FSIZE
- From: "thoger at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Thu, 12 May 2011 10:14:34 +0000
- Subject: [Bug libc/12625] mntent operations provide no indication of failure due to RLIMIT_FSIZE
- Auto-submitted: auto-generated
- References: <bug-12625-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12625
--- Comment #6 from Tomas Hoger <thoger at redhat dot com> 2011-05-12 10:11:19 UTC ---
Commit link noted for posterity:
http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=e1fb097f44
(In reply to comment #5)
> The only reason I made a change is because some braindead idiot put in the man
> page that endmntent never returns anything but 1. This is not what the libc
> implementation says and it should have been the correct way to report this type
> of problem.
Yes, it would be cleaner to have endmntent return error when fclose fails, but
given the documentation, it's not easy to change that way. The man page seems
to correctly document the implementation:
http://sourceware.org/git/?p=glibc.git;a=blob;f=misc/mntent_r.c;h=6959f0e2#l58
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.