diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/pinfo/files/pinfo-0.6.10-dir-file.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/pinfo/files/pinfo-0.6.10-dir-file.patch')
-rw-r--r-- | app-text/pinfo/files/pinfo-0.6.10-dir-file.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-text/pinfo/files/pinfo-0.6.10-dir-file.patch b/app-text/pinfo/files/pinfo-0.6.10-dir-file.patch new file mode 100644 index 000000000000..7a282f354baa --- /dev/null +++ b/app-text/pinfo/files/pinfo-0.6.10-dir-file.patch @@ -0,0 +1,11 @@ +--- a/src/filehandling_functions.c ++++ b/src/filehandling_functions.c +@@ -742,7 +742,7 @@ + int i, j; + char *tmpfilename; + +- if (strncmp(filename, "dir", 3) == 0) ++ if (strncmp(filename, "dir", 3) == 0 && !isalnum(filename[3])) + { + xfree(buf); + return opendirfile(number); |