diff options
author | vorlon <vorlon@alioth.debian.org> | 2005-05-08 11:46:04 +0000 |
---|---|---|
committer | vorlon <vorlon@alioth.debian.org> | 2005-05-08 11:46:04 +0000 |
commit | c8f5e97f6488154ca4d54fde6616159018ff38a4 (patch) | |
tree | 405a6f16c7356447756e7ac3c4cc4a3ef3d838e8 | |
parent | 16e341fbccf568f2901fd5e2349f21fb5ac862cc (diff) | |
download | samba-c8f5e97f6488154ca4d54fde6616159018ff38a4.tar.gz |
hide special files has its sense inverted; fixing
git-svn-id: svn://svn.debian.org/svn/pkg-samba/trunk@701 fc4039ab-9d04-0410-8cac-899223bdd6b0
-rw-r--r-- | changelog | 7 | ||||
-rw-r--r-- | patches/hide-special-file-fix.patch | 12 |
2 files changed, 19 insertions, 0 deletions
@@ -1,3 +1,10 @@ +samba (3.0.14a-2) unstable; urgency=low + + * Point the sense of the file_is_special() check right way around; + thanks to Matthijs Mohlmann for catching this. Closes: #305747. + + -- Steve Langasek <vorlon@debian.org> Sun, 8 May 2005 04:43:21 -0700 + samba (3.0.14a-1) unstable; urgency=low * New upstream version diff --git a/patches/hide-special-file-fix.patch b/patches/hide-special-file-fix.patch new file mode 100644 index 0000000000..64e9338a46 --- /dev/null +++ b/patches/hide-special-file-fix.patch @@ -0,0 +1,12 @@ +diff -urNad samba-3.0.14a.orig/source/smbd/dir.c samba-3.0.14a/source/smbd/dir.c +--- samba-3.0.14a.orig/source/smbd/dir.c 2005-04-14 08:14:20.000000000 +0200 ++++ samba-3.0.14a/source/smbd/dir.c 2005-05-07 13:01:22.791265928 +0200 +@@ -953,7 +953,7 @@ + return False; + } + /* Honour _hide_special_ option */ +- if (hide_special && !file_is_special(conn, entry, pst)) { ++ if (hide_special && file_is_special(conn, entry, pst)) { + SAFE_FREE(entry); + return False; + } |