symlinks/symlinks-1.2-short.patch

11 lines
290 B
Diff
Raw Normal View History

--- symlinks-1.2/symlinks.c.lr 2003-10-16 14:07:29.000000000 +0200
+++ symlinks-1.2/symlinks.c 2003-10-16 14:08:16.000000000 +0200
@@ -235,6 +235,7 @@
strcpy (np, tail);
(void) tidy_path(new);
}
+ shorten_path(new, path);
if (!testing) {
if (unlink (path)) {
perror(path);