From cf3a9741dc7427efb97eff09a3c197a906ce6767 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 28 Sep 1998 21:43:48 +0000 Subject: Changes to test in configure if capabilities are enabled on a system. Changes to get Samba to compile cleanly with the IRIX compiler with the options : -fullwarn -woff 1209,1174 (the -woff options are to turn off warnings about unused function parameters and controlling loop expressions being constants). Split prototype generation as we hit a limit in IRIX nawk. Removed "." code in smbd/filename.c (yet again :-). Jeremy. (This used to be commit e0567433bd72aec17bf5a54cc292701095d25f09) --- source3/passdb/smbpass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/passdb') diff --git a/source3/passdb/smbpass.c b/source3/passdb/smbpass.c index e67a9c9768..d2a69ee9a6 100644 --- a/source3/passdb/smbpass.c +++ b/source3/passdb/smbpass.c @@ -96,7 +96,7 @@ static struct smb_passwd *getsmbfilepwent(void *vp) unsigned char c; unsigned char *p; long uidval; - long linebuf_len; + size_t linebuf_len; if(fp == NULL) { DEBUG(0,("getsmbfilepwent: Bad password file pointer.\n")); @@ -566,7 +566,7 @@ static BOOL mod_smbfilepwd_entry(struct smb_passwd* pwd, BOOL override) fstring ascii_p16; fstring encode_bits; unsigned char *p = NULL; - long linebuf_len = 0; + size_t linebuf_len = 0; FILE *fp; int lockfd; char *pfile = lp_smb_passwd_file(); -- cgit