[PATCH 2/5] nsswitch: libpam remove depedance on locale.h use directly LOCALEDIR

Matthieu Patou mat at matws.net
Sun Feb 28 12:53:04 MST 2010


---
 nsswitch/pam_winbind.c |    2 +-
 nsswitch/pam_winbind.h |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c
index 82c8c4d..2689390 100644
--- a/nsswitch/pam_winbind.c
+++ b/nsswitch/pam_winbind.c
@@ -156,7 +156,7 @@ static inline void textdomain_init(void);
 static inline void textdomain_init(void)
 {
 	if (!initialized) {
-		bindtextdomain(MODULE_NAME, dyn_LOCALEDIR);
+		bindtextdomain(MODULE_NAME, LOCALEDIR);
 		initialized = 1;
 	}
 	return;
diff --git a/nsswitch/pam_winbind.h b/nsswitch/pam_winbind.h
index 25d673e..ed92479 100644
--- a/nsswitch/pam_winbind.h
+++ b/nsswitch/pam_winbind.h
@@ -9,7 +9,6 @@
 #include "system/time.h"
 #include <talloc.h>
 #include "libwbclient/wbclient.h"
-#include "localedir.h"
 
 #define MODULE_NAME "pam_winbind"
 #define PAM_SM_AUTH
-- 
1.6.3.3


--------------050803070908040701010406
Content-Type: text/x-patch;
 name="0001-s3-Move-source3-iniparser-to-lib-iniparser-to-allow-.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename*0="0001-s3-Move-source3-iniparser-to-lib-iniparser-to-allow-.pa";
 filename*1="tch"



More information about the samba-technical mailing list