summaryrefslogtreecommitdiff
path: root/libexec/comsat
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2003-08-14 16:55:25 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2003-08-14 16:55:25 +0000
commitaaafb0d8ff6924de40a673e0174f9f030cafd15f (patch)
treeb9d84155837cb34d271e10cd15a0325e15638ac7 /libexec/comsat
parent441657454d08b32b0efca0253811b1c7ca6bf509 (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