[SCM] Samba Shared Repository - branch master updated
Andrew Tridgell
tridge at samba.org
Tue Mar 23 22:52:54 MDT 2010
The branch, master has been updated
via 4c4d0a0... build: fixed nss_wrapper on solaris
from fd2bc08... idl: fix forest trust information idl
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 4c4d0a029dd4fd2b509f724b5166b3ff99222d2b
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 18:40:44 2010 +1100
build: fixed nss_wrapper on solaris
solaris has different getpwnam_r syntax
-----------------------------------------------------------------------
Summary of changes:
lib/nss_wrapper/nss_wrapper.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/lib/nss_wrapper/nss_wrapper.c b/lib/nss_wrapper/nss_wrapper.c
index ebf61f2..ee65350 100644
--- a/lib/nss_wrapper/nss_wrapper.c
+++ b/lib/nss_wrapper/nss_wrapper.c
@@ -34,6 +34,10 @@
#ifdef _SAMBA_BUILD_
+/* defining this gives us the posix getpwnam_r() calls on solaris
+ Thanks to heimdal for this */
+#define _POSIX_PTHREAD_SEMANTICS
+
#define NSS_WRAPPER_NOT_REPLACE
#include "../replace/replace.h"
#include "system/passwd.h"
--
Samba Shared Repository
More information about the samba-cvs
mailing list