Skip to contentSkip to conversation

getdents manpage wrong

Bug 14795 bugzilla-daemon-590EEB7GvNiWaY/[email protected] 1 participant 2 messages Jun 25, 2014 – Apr 12, 2015 2 messages not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

A message that is not in the archive (sent off-list or not yet received): bug-14795-11311-3bo0kxnWaOQUvHkbgXJLS5sdmw4N0Rt+2LY78lusg7I@public.gmane.org/

#2 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=14795

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from [email protected] --- This bug is obsolete. Please test against a newer kernel to see if it still is valid.
Cheers Nick

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=14795

Michael Kerrisk <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |CODE_FIX

--- Comment #3 from Michael Kerrisk <[email protected]> --- (In reply to blah from comment #0)

Quoted 2 lines

It shows source creating a struct instead of including, which doesn't work when the dents can be 64 or 32 bit,

The problem here is that there is no libc support, so, nothing to incude.

Quoted 2 lines

it also shows the d_type byte being
after the offset, but it is before it in bits/dirent.h

This is only true for the 64-bit structure/getdents64(). For getdents(), the description is accurate, ad the example code demonstartes.

The real problem is that the page does not document getdents64() and the structure that it uses. I've now added a description to the page, which will go out with the next release.

Cheers,

Michael

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html