diff options
Diffstat (limited to 'shells/fd/files/patch-archive.c')
-rw-r--r-- | shells/fd/files/patch-archive.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/shells/fd/files/patch-archive.c b/shells/fd/files/patch-archive.c deleted file mode 100644 index ffca5e8a8192..000000000000 --- a/shells/fd/files/patch-archive.c +++ /dev/null @@ -1,14 +0,0 @@ -A patch taken from: [FDclone-users:00027] - -diff -ur ../old/FD-2.01b/archive.c ./archive.c ---- ../old/FD-2.01b/archive.c Wed Jul 10 00:00:00 2002 -+++ ./archive.c Mon Aug 19 08:11:18 2002 -@@ -1188,7 +1188,7 @@ - if (*path == _SC_) len = 1; - else if ((cp = strdelim(path, 0))) len = cp - path; - else len = strlen(path); -- if (strncmp(path, "..", len)) { -+ if (len != 2 || strncmp(path, "..", len)) { - if (!searcharcdir(path, len)) { - strcpy(archivedir, duparcdir); - return(NULL); |