[SCM] Samba Shared Repository - branch master updated
Kai Blin
kai at samba.org
Sun Apr 4 05:52:58 MDT 2010
The branch, master has been updated
via b1192bb... lib/replace: Don't use StrnCpy inside crypt.c
via 781a0c0... lib/replace: use correct inttypes in crypt.c
from 9b1f9da... libwbclient: Streamline result processing of wbcCredentialCache()
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit b1192bbfc991af57736dba7c30fb4d92dd6f436c
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 4 13:51:02 2010 +0200
lib/replace: Don't use StrnCpy inside crypt.c
With this and the int32_t/int64_t change, talloc crossbuilds to android
commit 781a0c08467a29118be85e6ecd035d35fb105e84
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 4 13:42:15 2010 +0200
lib/replace: use correct inttypes in crypt.c
This makes the android crossbuild slightly less broken.
-----------------------------------------------------------------------
Summary of changes:
lib/replace/crypt.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/lib/replace/crypt.c b/lib/replace/crypt.c
index 22341ce..3a067bc 100644
--- a/lib/replace/crypt.c
+++ b/lib/replace/crypt.c
@@ -46,11 +46,11 @@
#ifndef long32
-#define long32 int32
+#define long32 int32_t
#endif
#ifndef long64
-#define long64 int64
+#define long64 int64_t
#endif
#ifndef ufc_long
@@ -665,7 +665,7 @@ char *ufc_crypt(const char *key,const char *salt)
* Setup key schedule
*/
clearmem(ktab, sizeof ktab);
- StrnCpy(ktab, key, 8);
+ strncpy(ktab, key, 8);
ufc_mk_keytab(ktab);
/*
--
Samba Shared Repository
More information about the samba-cvs
mailing list