summaryrefslogtreecommitdiffstats
path: root/source/passdb/smbpass.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-09-28 21:43:48 +0000
committerJeremy Allison <jra@samba.org>1998-09-28 21:43:48 +0000
commite0567433bd72aec17bf5a54cc292701095d25f09 (patch)
tree335335fb594f280097aa1c5db1118615112d0285 /source/passdb/smbpass.c
parent8a4730f61923577b0bd9e09ef1a00538f7dfb0de (diff)
downloadsamba-e0567433bd72aec17bf5a54cc292701095d25f09.tar.gz
samba-e0567433bd72aec17bf5a54cc292701095d25f09.tar.xz
samba-e0567433bd72aec17bf5a54cc292701095d25f09.zip
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.
Diffstat (limited to 'source/passdb/smbpass.c')
-rw-r--r--source/passdb/smbpass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/passdb/smbpass.c b/source/passdb/smbpass.c
index e67a9c97688..d2a69ee9a61 100644
--- a/source/passdb/smbpass.c
+++ b/source/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();