This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug manual/6891] description of dirfd() doesnt mention returned fd is unusable
- From: "aj at suse dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Sun, 08 Apr 2012 13:24:41 +0000
- Subject: [Bug manual/6891] description of dirfd() doesnt mention returned fd is unusable
- Auto-submitted: auto-generated
- References: <bug-6891-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=6891
Andreas Jaeger <aj at suse dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |aj at suse dot de
Resolution| |WORKSFORME
--- Comment #1 from Andreas Jaeger <aj at suse dot de> 2012-04-08 13:24:41 UTC ---
The text before dirfd reads in current glibc:
In some situations it can be desirable to get hold of the file
descriptor which is created by the @code{opendir} call. For instance,
to switch the current working directory to the directory just read the
@code{fchdir} function could be used. Historically the @code{DIR} type
was exposed and programs could access the fields. This does not happen
in @theglibc{}. Instead a separate function is provided to allow
access.
I think this is sufficient, if you disagree, please explain better what you
want to have changed and reopen the bug.
--
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.