The Samba-Bugzilla – Attachment 10854 Details for
Bug 11153
syntax error in source3/locking/brlock.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch for source3/locking/brlock.c
patch.syntax3 (text/plain), 847 bytes, created by
Tom Schulz
on 2015-03-11 15:37:45 UTC
(
hide
)
Description:
Patch for source3/locking/brlock.c
Filename:
MIME Type:
Creator:
Tom Schulz
Created:
2015-03-11 15:37:45 UTC
Size:
847 bytes
patch
obsolete
>An edited version of a patch From: Christof Schmitt <cs@samba.org> >Date: Sun, 8 Mar 2015 22:18:54 -0500 >Subject: [PATCH] Use 0 instead of empty initializer list > >C does not allow empty initializer lists. Although gcc accepts that, the >SunOS compiler fails with an error. > >The full patch was Signed-off-by: Christof Schmitt <cs@samba.org> >--- > source3/locking/brlock.c | 2 +- > >diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c >index 7d4d838..1a468d0 100644 >--- a/source3/locking/brlock.c >+++ b/source3/locking/brlock.c >@@ -2005,7 +2005,7 @@ static void brl_get_locks_readonly_parser(TDB_DATA key, TDB_DATA data, > *state->br_lock = NULL; > return; > } >- *br_lck = (struct byte_range_lock) {}; >+ *br_lck = (struct byte_range_lock) { 0 }; > if (!brl_parse_data(br_lck, data)) { > *state->br_lock = NULL; > return; >--
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 11153
:
10854
|
10863