(__getcwd): When we find a match in the scan for a name, avoid doing another readdi...
commit072d114510658495a9f241864e0194d542b47a08
authorMiles Bader <miles@gnu.org>
Thu, 25 Apr 1996 21:37:46 +0000 (25 21:37 +0000)
committerMiles Bader <miles@gnu.org>
Thu, 25 Apr 1996 21:37:46 +0000 (25 21:37 +0000)
tree43608b4ad39c55f6a8f710ad670e90d4aebc4451
parent8ec2f30995f6329bf6a80a22905a442851580e8c
(__getcwd): When we find a match in the scan for a name, avoid doing another   readdir (which overwrites NENTRIES, and was resulting in a bogus ENOENT).
sysdeps/mach/hurd/getcwd.c