Seekdir Bug

Matthew Dillon dillon at apollo.backplane.com
Sat May 3 16:40:38 PDT 2008


:Actually this is not true.  The dirent structure is variable-sized=20
:anyways, because it is only as long as necessary to store the name.
:
:We could simply put the cookie after the name and include the cookie=20
:length in the namelen field, so that _DIRENT_NEXT will keep working.
:
:Of course this is only needed for binary compatibility.  I think=20
:2.0-RELEASE would be a good opportunity to have a "break" in binary=20
:compatibility, i.e. to bump all library versions.  We could then introduc=
:e=20
:a new syscall returning nice cookies :)
:
:cheers
:   simon

    We can't do that, programs can depend on the name length field to
    figure out, well, the length of the filename.

    I'm still kicking myself for not putting in 64 bits worth of reserved
    fields.

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>





More information about the Bugs mailing list