DragonFly bugs List (threaded) for 2008-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Seekdir Bug
: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@backplane.com>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]