Proper fix for #6898 - Samba duplicates file content on appending. Pointed out by...
commita5b2f9300c50db49541589a822e5eef90cae798e
authorJeremy Allison <jra@samba.org>
Mon, 23 Nov 2009 23:01:34 +0000 (23 15:01 -0800)
committerKarolin Seeger <kseeger@samba.org>
Thu, 26 Nov 2009 10:41:12 +0000 (26 11:41 +0100)
treed821cf8ca174dcea77ea5bc050e5d6df05c32389
parentd03e8921ab4944f7ee359e9d1e080061ff59477b
Proper fix for #6898 - Samba duplicates file content on appending. Pointed out by Volker.Restores the pathname handling for FILE_FLAG_POSIX_SEMANTICS but still prevents the O_APPEND problems. Jeremy.
(cherry picked from commit f8bd0559ada056722d7d5ae0286753e7c591650b)
(cherry picked from commit 45bbbb04fb9a8ff8eaa3b64c8cae42c5b8a77027)
source3/include/smb.h
source3/smbd/filename.c
source3/smbd/nttrans.c