diff options
Diffstat (limited to 'shells/fd/files/patch-libc.c')
| -rw-r--r-- | shells/fd/files/patch-libc.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/shells/fd/files/patch-libc.c b/shells/fd/files/patch-libc.c deleted file mode 100644 index 79c7e0ac01b2..000000000000 --- a/shells/fd/files/patch-libc.c +++ /dev/null @@ -1,13 +0,0 @@ -diff -u ../old/FD-1.03u/libc.c ./libc.c ---- ../old/FD-1.03u/libc.c Tue Dec 18 00:00:00 2001 -+++ ./libc.c Tue Jan 8 12:06:14 2002 -@@ -165,7 +165,8 @@ - buf[i] = '\0'; - if (*buf == _SC_) strcpy(resolved, buf); - else { -- *(cp - 1) = '\0'; -+ if (cp - 1 > resolved) cp--; -+ *cp = '\0'; - _realpath2(buf, resolved, rdlink); - } - } |
