SOURCES: apparmor-parser-no-fdopendir.patch (NEW) for ac

arekm arekm at pld-linux.org
Tue Dec 12 23:36:20 CET 2006


Author: arekm                        Date: Tue Dec 12 22:36:20 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
for ac

---- Files affected:
SOURCES:
   apparmor-parser-no-fdopendir.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/apparmor-parser-no-fdopendir.patch
diff -u /dev/null SOURCES/apparmor-parser-no-fdopendir.patch:1.1
--- /dev/null	Tue Dec 12 23:36:20 2006
+++ SOURCES/apparmor-parser-no-fdopendir.patch	Tue Dec 12 23:36:15 2006
@@ -0,0 +1,12 @@
+diff -urN apparmor-parser-2.0.org/parser_include.c apparmor-parser-2.0/parser_include.c
+--- apparmor-parser-2.0.org/parser_include.c	2006-10-12 18:56:46.000000000 +0200
++++ apparmor-parser-2.0/parser_include.c	2006-12-13 00:33:28.105942250 +0100
+@@ -393,7 +393,7 @@
+ 	}
+ 
+ 	if (S_ISDIR(my_stat.st_mode)) {
+-		DIR *dir = fdopendir(fileno(newf));
++		DIR *dir = opendir(buf);
+ 		struct dirent *dirent;
+ 		if (!dir) {
+ 			retval = 1;
================================================================


More information about the pld-cvs-commit mailing list