diff options
Diffstat (limited to 'packaging/Debian/debian/patches/smbtar-exclude.patch')
-rw-r--r-- | packaging/Debian/debian/patches/smbtar-exclude.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packaging/Debian/debian/patches/smbtar-exclude.patch b/packaging/Debian/debian/patches/smbtar-exclude.patch new file mode 100644 index 00000000000..a5cacc82824 --- /dev/null +++ b/packaging/Debian/debian/patches/smbtar-exclude.patch @@ -0,0 +1,12 @@ +diff -uNr samba-2.2.4.orig/source/client/clitar.c samba-2.2.4/source/client/clitar.c +--- samba-2.2.4.orig/source/client/clitar.c Thu May 2 20:02:58 2002 ++++ samba-2.2.4/source/client/clitar.c Sat Jun 1 00:25:28 2002 +@@ -515,7 +515,7 @@ + if (!*s2 && (*s1 == '/' || *s1 == '\\') && !*(s1+1)) return 0; + + /* check for s1 is an "initial" string of s2 */ +- if (*s2 == '/' || *s2 == '\\') return 0; ++ if ((*s2 == '/' || *s2 == '\\') && !*s1) return 0; + + return *s1-*s2; + } |