-($Id: ChangeLog,v 1.16 2001-03-07 15:19:20 rufustfirefly Exp $)
+($Id: ChangeLog,v 1.17 2001-03-07 15:36:54 rufustfirefly Exp $)
+
+2001-03-07 10:34 EST jeff b <jeff@univrel.pr.uconn.edu>
+
+ * etc/afpd/volume.c: changed VOLOPT_MAX to be 9 if FORCE_UIDGID is not
+ defined (thanks to Axel Bringenberg <A.Bringenberg@srz-berlin.de>)
2001-03-07 10:14 EST jeff b <jeff@univrel.pr.uconn.edu>
/*
- * $Id: volume.c,v 1.5 2001-02-28 16:53:24 rufustfirefly Exp $
+ * $Id: volume.c,v 1.6 2001-03-07 15:36:54 rufustfirefly Exp $
*
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* All Rights Reserved. See COPYRIGHT.
#ifdef FORCE_UIDGID
#define VOLOPT_FORCEUID 10 /* force uid for username x */
#define VOLOPT_FORCEGID 11 /* force gid for group x */
-#endif FORCE_UIDGID
-
#define VOLOPT_MAX 11
+#else /* normally, there are only 9 possible options */
+#define VOLOPT_MAX 9
+#endif /* FORCE_UIDGID */
+
#define VOLOPT_NUM (VOLOPT_MAX + 1)
#define VOLPASSLEN 8