- add upstream bug-fix that preventing some segfaults [2] while here: - trim Makefile header - remove indefinite article from COMMENT - convert to optionsng (NLS case) [1] http://lists.gnu.org/archive/html/bug-findutils/2013-02/msg00000.html [2] http://savannah.gnu.org/bugs/?38239 PR: 175812 Submitted by: Klaus Aehlig <aehlig@linta.de> (maintainer)
14 lines
345 B
C
14 lines
345 B
C
--- gl/lib/fdopendir.c.orig 2012-12-15 14:42:45.000000000 +0100
|
|
+++ gl/lib/fdopendir.c 2013-02-02 17:11:52.000000000 +0100
|
|
@@ -182,9 +182,11 @@
|
|
|
|
# include <errno.h>
|
|
# include <sys/stat.h>
|
|
+# include <dirent.h>
|
|
|
|
# undef fdopendir
|
|
|
|
+extern DIR *fdopendir(int);
|
|
/* Like fdopendir, but work around GNU/Hurd bug by validating FD. */
|
|
|
|
DIR *
|