[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-28-34-ge2c4d91

Jeremy Allison jra at samba.org
Sun Dec 16 06:39:45 GMT 2007


The branch, v3-0-test has been updated
       via  e2c4d91a331001b4cae82e9820323036812b5bcd (commit)
      from  44ba475acc854258e83d26d45dc35c69da69aed8 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test


- Log -----------------------------------------------------------------
commit e2c4d91a331001b4cae82e9820323036812b5bcd
Author: Jeremy Allison <jra at samba.org>
Date:   Sat Dec 15 22:28:46 2007 -0800

    More work on bug #5082, use LC_ALL as this takes
    precedence.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source/smbd/chgpasswd.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/smbd/chgpasswd.c b/source/smbd/chgpasswd.c
index 4ec8452..b4b60f1 100644
--- a/source/smbd/chgpasswd.c
+++ b/source/smbd/chgpasswd.c
@@ -500,7 +500,7 @@ BOOL chgpasswd(const char *name, const struct passwd *pass,
 	if (lp_pam_password_change()) {
 		BOOL ret;
 #ifdef HAVE_SETLOCALE
-		char *prevlocale = setlocale(LC_MESSAGES, "C");
+		char *prevlocale = setlocale(LC_ALL, "C");
 #endif
 
 		if (as_root)
@@ -516,7 +516,7 @@ BOOL chgpasswd(const char *name, const struct passwd *pass,
 			unbecome_root();
 
 #ifdef HAVE_SETLOCALE
-		setlocale(LC_MESSAGES, prevlocale);
+		setlocale(LC_ALL, prevlocale);
 #endif
 
 		return ret;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list