pigz/pigz-do-symlinks.patch

17 lines
600 B
Diff

--- pigz-2.1.6/pigz.c.orig 2011-06-02 12:36:40.043909605 +0200
+++ pigz-2.1.6/pigz.c 2011-06-02 12:39:32.148763023 +0200
@@ -2596,11 +2596,13 @@
in);
return;
}
+#if 0
if ((st.st_mode & S_IFMT) == S_IFLNK && !force && !pipeout) {
if (verbosity > 0)
fprintf(stderr, "%s is a symbolic link -- skipping\n", in);
return;
}
+#endif
if ((st.st_mode & S_IFMT) == S_IFDIR && !recurse) {
if (verbosity > 0)
fprintf(stderr, "%s is a directory -- skipping\n", in);