Loading...
--- /dev/null
+++ Libc/Libc-763.11/gen/FreeBSD/closedir.c.patch
@@ -0,0 +1,12 @@
+--- closedir.c.orig 2009-11-07 15:27:55.000000000 -0800
++++ closedir.c 2009-11-07 15:28:09.000000000 -0800
+@@ -55,7 +55,9 @@ closedir(dirp)
+
+ if (__isthreaded)
+ _pthread_mutex_lock(&dirp->dd_lock);
++#if !__DARWIN_UNIX03
+ _seekdir(dirp, dirp->dd_rewind); /* free seekdir storage */
++#endif /* __DARWIN_UNIX03 */
+ fd = dirp->dd_fd;
+ dirp->dd_fd = -1;
+ dirp->dd_loc = 0;