fix errno value when fdopendir is given an invalid file descriptor
authorRich Felker <dalias@aerifal.cx>
Fri, 22 Jul 2011 01:15:14 +0000 (21:15 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 22 Jul 2011 01:15:14 +0000 (21:15 -0400)
commitfa845669ce03c26c069fc34e7377b47fac23edd8
tree853d9164a980fc6217fad3762dc41575b8f20717
parent4ec07e1f60128cdac63bd98e7091240d6e5d888c
fix errno value when fdopendir is given an invalid file descriptor

this resolves an issue reported by Vasiliy Kulikov
src/dirent/fdopendir.c