=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tcfs/Attic/tcfs_dbmaint.c,v retrieving revision 1.4 retrieving revision 1.5 diff -c -r1.4 -r1.5 *** src/usr.bin/tcfs/Attic/tcfs_dbmaint.c 2000/06/19 14:24:06 1.4 --- src/usr.bin/tcfs/Attic/tcfs_dbmaint.c 2000/06/19 20:06:19 1.5 *************** *** 123,129 **** tcfspwdbr_read (tcfspwdb *t, int flags,...) { va_list argv; - int r; char *d; va_start (argv, flags); --- 123,128 ---- *************** *** 148,154 **** tcfsgpwdbr_read (tcfsgpwdb *t, int flags,...) { va_list argv; - int r; char *d; va_start (argv, flags); --- 147,152 ---- *************** *** 228,234 **** { DB *pdb; DBT srchkey, r; ! char *key, *buf; int res; if (!*dest) --- 226,232 ---- { DB *pdb; DBT srchkey, r; ! char *key; int res; if (!*dest) *************** *** 305,312 **** DB *pdb; static DBT srchkey, d; int open_flag = 0; ! char *key, *buf; ! char *tmp; open_flag = O_RDWR|O_EXCL; if (access (TCFSGPWDB, F_OK) < 0) --- 303,309 ---- DB *pdb; static DBT srchkey, d; int open_flag = 0; ! char *key; open_flag = O_RDWR|O_EXCL; if (access (TCFSGPWDB, F_OK) < 0) *************** *** 386,392 **** int tcfs_group_chgpwd (char *user, gid_t gid, char *old, char *new) { ! tcfsgpwdb *group_info; unsigned char *key; key = (unsigned char *)calloc(UUGKEYSIZE + 1, sizeof (char)); --- 383,389 ---- int tcfs_group_chgpwd (char *user, gid_t gid, char *old, char *new) { ! tcfsgpwdb *group_info = NULL; unsigned char *key; key = (unsigned char *)calloc(UUGKEYSIZE + 1, sizeof (char)); *************** *** 438,444 **** int tcfs_chgpassword (char *user, char *old, char *new) { ! int error1=0, error2=0; DB *gpdb; DBT found, key; unsigned char *ckey; --- 435,441 ---- int tcfs_chgpassword (char *user, char *old, char *new) { ! int error1=0; DB *gpdb; DBT found, key; unsigned char *ckey;