git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d41ec68
)
smbd: Fix build on platforms that will not support var = {} initialisation
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 21 May 2013 21:37:33 +0000
(07:37 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 27 May 2013 01:57:00 +0000
(11:57 +1000)
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
source3/smbd/posix_acls.c
patch
|
blob
|
history
diff --git
a/source3/smbd/posix_acls.c
b/source3/smbd/posix_acls.c
index 01d429f23590533d8366cb8422dde829ebe05acf..3b9be9d8720b1775e05f85a167ddfd10dc3ffc74 100644
(file)
--- a/
source3/smbd/posix_acls.c
+++ b/
source3/smbd/posix_acls.c
@@
-4738,7
+4738,10
@@
int posix_sys_acl_blob_get_file(vfs_handle_struct *handle,
{
int ret;
TALLOC_CTX *frame = talloc_stackframe();
- struct smb_acl_wrapper acl_wrapper = {};
+ /* Initialise this to zero, in a portable way */
+ struct smb_acl_wrapper acl_wrapper = {
+ NULL
+ };
struct smb_filename *smb_fname;
smb_fname = synthetic_smb_fname_split(frame, path_p, NULL);