The Samba-Bugzilla – Attachment 13064 Details for
Bug 12559
source3/lib/tldap.c", line 2539: non-constant initializer: op "NAME"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch in git format
patch.4.5.solarisC.2 (text/plain), 938 bytes, created by
Tom Schulz
on 2017-03-15 17:50:49 UTC
(
hide
)
Description:
Patch in git format
Filename:
MIME Type:
Creator:
Tom Schulz
Created:
2017-03-15 17:50:49 UTC
Size:
938 bytes
patch
obsolete
>From 908dc2784a2b821171c96c06db1e7940f88e8b79 Mon Sep 17 00:00:00 2001 >From: Tom <schulz@adi.com> >Date: Wed, 15 Mar 2017 12:06:19 -0400 >Subject: [PATCH] Fix for Solaris C compiler. > >Inspired by comment 4 in bug 12559. >Signed-off-by: Tom Schulz <schulz@adi.com> >--- > source3/include/tldap.h | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/source3/include/tldap.h b/source3/include/tldap.h >index 74279a4..23e3f1b 100644 >--- a/source3/include/tldap.h >+++ b/source3/include/tldap.h >@@ -47,9 +47,15 @@ struct tldap_mod { > DATA_BLOB *values; > }; > >+#if defined(HAVE_IMMEDIATE_STRUCTURES) > typedef struct { uint8_t rc; } TLDAPRC; > #define TLDAP_RC(x) ((TLDAPRC){.rc = x}) > #define TLDAP_RC_V(x) ((x).rc) >+#else >+typedef uint8_t TLDAPRC; >+#define TLDAP_RC(x) (x) >+#define TLDAP_RC_V(x) (x) >+#endif > > #define TLDAP_RC_EQUAL(x,y) (TLDAP_RC_V(x)==TLDAP_RC_V(y)) > #define TLDAP_RC_IS_SUCCESS(x) TLDAP_RC_EQUAL(x,TLDAP_SUCCESS) >-- >2.6.1 >
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 12559
:
13064
|
13082