OSDN Git Service

rfelker reports in Bug 683 that we leak file descriptors if the fcntl() fails .....
authorMike Frysinger <vapier@gentoo.org>
Sat, 4 Feb 2006 03:24:24 +0000 (03:24 -0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 4 Feb 2006 03:24:24 +0000 (03:24 -0000)
commitad6612eb8e130cf4b43824917809e1fb2f253f42
tree83c76a1c5aadb472e511729995aca66c9938c6a5
parente1982ac32aa0edf24703d210861df504409bfa91
rfelker reports in Bug 683 that we leak file descriptors if the fcntl() fails ... so fix that.  add back in fstat() ofter we open() the directory as we need the blocksize further down in the code.  unify the memory error handling to shrink the code there a little.
libc/misc/dirent/opendir.c