diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-10-06 18:52:30 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-10-06 18:52:30 +0000 |
commit | c4648280735ac829813faca46741bdf29ad835b3 (patch) | |
tree | 198e78c96e8a353d51eca836e96742c223049f8b /shells/fd/files/patch-archive.c | |
parent | Update to 3.12.5. (diff) |
Update to 2.01c.
Notes
Notes:
svn path=/head/; revision=67497
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); |