(fdopendir): Be sure to close the supplied
authorJim Meyering <jim@meyering.net>
Tue, 20 Sep 2005 13:51:01 +0000 (13:51 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 20 Sep 2005 13:51:01 +0000 (13:51 +0000)
commit5205b738107db88501a5d8f0bd3908a66d81b87b
tree4e1cc2305a6cd309f875a8ee6e44729b50c64bf2
parent3fcdbfdfda725ba1a31f30b3a8aba4d783de3c45
(fdopendir): Be sure to close the supplied
file descriptor before returning.  This makes our replacement
implementation a little closer to Solaris's, where fdopendir
ties the file descriptor to the returned DIR* pointer.
lib/openat.c