]> git.pld-linux.org Git - packages/apparmor-parser.git/blob - apparmor-parser-no-fdopendir.patch
for ac
[packages/apparmor-parser.git] / apparmor-parser-no-fdopendir.patch
1 diff -urN apparmor-parser-2.0.org/parser_include.c apparmor-parser-2.0/parser_include.c
2 --- apparmor-parser-2.0.org/parser_include.c    2006-10-12 18:56:46.000000000 +0200
3 +++ apparmor-parser-2.0/parser_include.c        2006-12-13 00:33:28.105942250 +0100
4 @@ -393,7 +393,7 @@
5         }
6  
7         if (S_ISDIR(my_stat.st_mode)) {
8 -               DIR *dir = fdopendir(fileno(newf));
9 +               DIR *dir = opendir(buf);
10                 struct dirent *dirent;
11                 if (!dir) {
12                         retval = 1;
This page took 0.057887 seconds and 4 git commands to generate.