diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2000-01-22 23:06:35 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2000-01-22 23:06:35 +0000 |
commit | cb57849f50dda2a6cbe9456152cf3e6c2a3cce22 (patch) | |
tree | 2a8c2bdd0409ad2085144c0fce514877921f8ad7 /lib | |
parent | 829af5acc62854b7cd90ccd9f4584f7fca13b511 (diff) |
minor getdents cleanup:
o return ENOTDIR, not EINVAL for v_type != VDIR (SunOS behavior)
o return EINVAL for values of nbytes too small to hold a single dir entry
o remove a redundant check for error != 0
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions