diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2003-08-14 16:55:25 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2003-08-14 16:55:25 +0000 |
commit | aaafb0d8ff6924de40a673e0174f9f030cafd15f (patch) | |
tree | b9d84155837cb34d271e10cd15a0325e15638ac7 /libexec/comsat | |
parent | 441657454d08b32b0efca0253811b1c7ca6bf509 (diff) |
in some fs (ie. procfs), readdir won't return a cookie, so calculate
it based on the offset and reclen. with this, a emulated ls binary
(ie. linux) correctly list the files in such filesystems. also plug some
memory leak and remove a unneeded panic.
adapted from FreeBSD.
henning@ tedu@ ok. some other people ok'ed this in the past as well.
Diffstat (limited to 'libexec/comsat')
0 files changed, 0 insertions, 0 deletions