The Samba-Bugzilla – Attachment 18228 Details for
Bug 12421
fake directory create times has no effect
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
backported patch for 4.18 and 4.19
0001-system.c-fix-fake-directory-create-times.patch (text/plain), 1.00 KB, created by
Björn Jacke
on 2024-01-16 17:42:10 UTC
(
hide
)
Description:
backported patch for 4.18 and 4.19
Filename:
MIME Type:
Creator:
Björn Jacke
Created:
2024-01-16 17:42:10 UTC
Size:
1.00 KB
patch
obsolete
>From 0c544278b0c56d9649bc06d16c1ddc8fb5e4ba89 Mon Sep 17 00:00:00 2001 >From: Bjoern Jacke <bj@sernet.de> >Date: Mon, 8 Jan 2024 15:04:12 +0000 >Subject: [PATCH] system.c: fix fake directory create times > >This was broken by c9c3d4312d7281904fc back in 2009 already. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=12421 > >Signed-off-by: Bjoern Jacke <bjacke@samba.org> >Reviewed-by: Volker Lendecke <vl@samba.org> >(cherry picked from commit 56c3dbc2ff8531772bf79eb9da3497767a20ce6f) >--- > source3/lib/system.c | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/source3/lib/system.c b/source3/lib/system.c >index 66b3525508b..b1e60c9ef1a 100644 >--- a/source3/lib/system.c >+++ b/source3/lib/system.c >@@ -186,6 +186,7 @@ static void make_create_timespec(const struct stat *pst, struct stat_ex *dst, > if (S_ISDIR(pst->st_mode) && fake_dir_create_times) { > dst->st_ex_btime.tv_sec = 315493200L; /* 1/1/1980 */ > dst->st_ex_btime.tv_nsec = 0; >+ return; > } > > dst->st_ex_iflags &= ~ST_EX_IFLAG_CALCULATED_BTIME; >-- >2.41.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
Flags:
vl
:
review+
Actions:
View
Attachments on
bug 12421
: 18228