/*
- * $Id: quota.c,v 1.4 2001-05-03 13:57:44 rufustfirefly Exp $
+ * $Id: quota.c,v 1.5 2001-05-07 20:05:32 rufustfirefly Exp $
*
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
#endif
-#if defined(USE_MNTTAB_H) || defined(__svr4__)
+#if defined(HAVE_SYS_MNTTAB_H) || defined(__svr4__)
/*
* Return the mount point associated with the filesystem
* on which "file" resides. Returns NULL on failure.
}
#else /* ultrix */
-#if defined(USE_MOUNT_H) || defined(BSD4_4) || defined(_IBMR2)
+#if defined(HAVE_MOUNT_H) || defined(BSD4_4) || defined(_IBMR2)
static char *
special( file, nfs )
seteuid( uid );
return ( AFPERR_PARAM );
}
+ seteuid( uid );
}
#else /* BSD4_4 */
/*
- * $Id: uams_passwd.c,v 1.7 2001-05-03 13:57:44 rufustfirefly Exp $
+ * $Id: uams_passwd.c,v 1.8 2001-05-07 20:05:34 rufustfirefly Exp $
*
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* Copyright (c) 1999 Adrian Sun (asun@u.washington.edu)
if ( pr == NULL )
return AFPERR_NOTAUTH;
if ( strcmp ( bigcrypt ( ibuf, pr->ufld.fd_encrypt ),
- pr->ufld.fd_encrypt == 0 )
+ pr->ufld.fd_encrypt ) == 0 )
return AFP_OK;
#else /* DIGITAL_UNIX_SECURITY */
p = crypt( ibuf, pwd->pw_passwd );