The Samba-Bugzilla – Attachment 15507 Details for
Bug 14150
Exporting from macOS Adobe Illustrator creates multiple copies
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
WIP patch for master
set-eof-flush-delayed-write-time-update.patch (text/plain), 907 bytes, created by
Ralph Böhme
on 2019-10-03 13:16:23 UTC
(
hide
)
Description:
WIP patch for master
Filename:
MIME Type:
Creator:
Ralph Böhme
Created:
2019-10-03 13:16:23 UTC
Size:
907 bytes
patch
obsolete
>From 309042719bb0bb85cdff5ed95a9f6edaab4a4dcb Mon Sep 17 00:00:00 2001 >From: Ralph Boehme <slow@samba.org> >Date: Tue, 22 Jan 2019 18:03:30 +0100 >Subject: [PATCH] s3:smbd: fix if (fsp->modified) -> > trigger_write_time_update_immediate(fsp) > >Set per share option "smbd:eof_write_time_update_when_modified" to true to enable >this. >--- > source3/smbd/trans2.c | 7 +++++++ > 1 file changed, 7 insertions(+) > >diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c >index 7c1e020324b..d2c85df9b5a 100644 >--- a/source3/smbd/trans2.c >+++ b/source3/smbd/trans2.c >@@ -6658,6 +6658,13 @@ static NTSTATUS smb_set_file_size(connection_struct *conn, > get_file_size_stat(psbuf)); > > if (size == get_file_size_stat(psbuf)) { >+ if (fsp == NULL) { >+ return NT_STATUS_OK; >+ } >+ if (!fsp->modified) { >+ return NT_STATUS_OK; >+ } >+ trigger_write_time_update_immediate(fsp); > return NT_STATUS_OK; > } > >-- >2.21.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 14150
:
15507
|
15876
|
15877