Make getdirentries(2) correctly fail with EINVAL for an invalid file
commit2d02be280cb972926de8386a554465a842b35e0a
authorNicolas Joly <njoly@NetBSD.org>
Thu, 28 May 2009 14:48:20 +0000 (28 14:48 +0000)
committerNicolas Joly <njoly@NetBSD.org>
Thu, 28 May 2009 14:48:20 +0000 (28 14:48 +0000)
tree951c2a84f0f4157317147f6be801e469555af639
parentecf1206f7f60e207d0ff88b27462430cb0694fc7
Make getdirentries(2) correctly fail with EINVAL for an invalid file
descriptor (not for a directory), by not updating basep syscall
argument on error.
sys/compat/osf1/osf1_file.c