DragonFly submit List (threaded) for 2004-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
patch to make edquota(8) honour MAXLOGNAME
As subject.
Obtained from: FreeBSD
PR: misc/62944
CVS: src/usr.sbin/edquota/edquota.c 1.22
-Chris
Index: usr.sbin/edquota/edquota.c
===================================================================
RCS file: /home/dcvs/src/usr.sbin/edquota/edquota.c,v
retrieving revision 1.4
diff -u -r1.4 edquota.c
--- usr.sbin/edquota/edquota.c 16 Nov 2003 14:10:45 -0000 1.4
+++ usr.sbin/edquota/edquota.c 24 Feb 2004 16:41:26 -0000
@@ -36,7 +36,7 @@
* @(#) Copyright (c) 1980, 1990, 1993 The Regents of the University of California. All rights reserved.
* @(#)edquota.c 8.1 (Berkeley) 6/6/93
* $FreeBSD: src/usr.sbin/edquota/edquota.c,v 1.9.2.6 2002/10/31 22:38:43 iedowse Exp $
- * $DragonFly: src/usr.sbin/edquota/edquota.c,v 1.4 2003/11/16 14:10:45 eirikn Exp $
+ * $DragonFly$
*/
/*
@@ -101,7 +101,7 @@
char *protoname, *cp, *oldoptarg, ch;
int eflag = 0, tflag = 0, pflag = 0;
char *fspath = NULL;
- char buf[30];
+ char buf[MAXLOGNAME];
if (argc < 2)
usage();
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]