OpenBSD CVS

CVS log for src/usr.sbin/repquota/repquota.c


[BACK] Up to [local] / src / usr.sbin / repquota

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.36 / (download) - annotate - [select for diffs], Mon Nov 15 15:14:24 2021 UTC (2 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, HEAD
Changes since 1.35: +0 -2 lines
Diff to previous 1.35 (colored)

No need to declare optind, optarg or opterr; unistd.h does this for us.
From Jan Stary.  OK deraadt@

Revision 1.35 / (download) - annotate - [select for diffs], Wed Mar 16 15:41:11 2016 UTC (8 years, 2 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

More "(<blah> *)0" -> NULL, avoiding any stdarg functions.

Feedback millert@ kettenis@

Revision 1.34 / (download) - annotate - [select for diffs], Mon Oct 26 17:55:32 2015 UTC (8 years, 7 months ago) by zhuk
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.33: +1 -1 lines
Diff to previous 1.33 (colored)

Put repquota in line with other utilities: you either wants list everyting,
effectively using -a, or you specify filesystems one-by-one. Doing both
resulted in a funny error messages, so just don't allow that silly behaviour.

okay millert@

Revision 1.33 / (download) - annotate - [select for diffs], Thu Aug 20 22:39:29 2015 UTC (8 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.32: +1 -1 lines
Diff to previous 1.32 (colored)

stdlib.h is in scope; do not cast malloc/calloc/realloc*
ok millert krw

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:20 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.31: +1 -1 lines
Diff to previous 1.31 (colored)

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible.  Annotate <sys/param.h> lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

Revision 1.31 / (download) - annotate - [select for diffs], Tue Nov 12 22:27:13 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.30: +1 -1 lines
Diff to previous 1.30 (colored)

ensure there are prototypes

Revision 1.30 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:54 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.29: +0 -11 lines
Diff to previous 1.29 (colored)

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable).  these days, people use source.  these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

Revision 1.29 / (download) - annotate - [select for diffs], Fri Sep 7 14:23:55 2007 UTC (16 years, 8 months ago) by mbalmer
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.28: +2 -3 lines
Diff to previous 1.28 (colored)

Fix use of arguments in usage().

ok winiger

Revision 1.28 / (download) - annotate - [select for diffs], Sun Feb 18 23:17:59 2007 UTC (17 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

tidy up synopsis and usage(); partly from Igor Sobrado

Revision 1.27 / (download) - annotate - [select for diffs], Sun Apr 3 19:02:30 2005 UTC (19 years, 2 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Report quotas > 10GB in a readable way. Diff based on PR 2836.
ok deraadt@

Revision 1.26 / (download) - annotate - [select for diffs], Fri Apr 1 04:31:11 2005 UTC (19 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

these commands said "blocks" when they meant "KBytes" (they even calculated
it so).  pointed out by janc@cyberspace.org, pr 3956

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jun 26 19:47:10 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

strict proto cleanups

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jun 25 15:54:17 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.23: +11 -27 lines
Diff to previous 1.23 (colored)

ansi

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jun 2 23:36:54 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.22: +2 -6 lines
Diff to previous 1.22 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Apr 30 15:30:05 2003 UTC (21 years, 1 month ago) by jason
Branch: MAIN
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored)

pull in stdlib.h to avoid implicit decl of calloc(); ok henning

Revision 1.21 / (download) - annotate - [select for diffs], Sun Mar 30 20:52:42 2003 UTC (21 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.20: +2 -3 lines
Diff to previous 1.20 (colored)

boring nothing commit from cloder

Revision 1.20 / (download) - annotate - [select for diffs], Sun Mar 30 20:47:42 2003 UTC (21 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

snprintf; millert ok

Revision 1.19 / (download) - annotate - [select for diffs], Fri Sep 6 21:49:21 2002 UTC (21 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

cope with INITQFNAMES without a ;

Revision 1.18 / (download) - annotate - [select for diffs], Fri Sep 6 18:29:37 2002 UTC (21 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

no ; after INITQFNAMES

Revision 1.17 / (download) - annotate - [select for diffs], Wed May 29 09:45:08 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.16: +5 -4 lines
Diff to previous 1.16 (colored)

more sprintf

Revision 1.16 / (download) - annotate - [select for diffs], Thu Mar 14 16:44:25 2002 UTC (22 years, 2 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.15: +11 -11 lines
Diff to previous 1.15 (colored)

kill more registers.

millert@ ok

Revision 1.15 / (download) - annotate - [select for diffs], Sat Feb 16 21:28:08 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.14: +5 -5 lines
Diff to previous 1.14 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jan 15 05:19:10 2001 UTC (23 years, 4 months ago) by angelos
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.13: +7 -10 lines
Diff to previous 1.13 (colored)

Revert previous patch.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jan 14 23:03:05 2001 UTC (23 years, 4 months ago) by angelos
Branch: MAIN
Changes since 1.12: +11 -8 lines
Diff to previous 1.12 (colored)

Handle quotas over 4G, PR 1534 (bob@prophecy.lu)

Revision 1.12 / (download) - annotate - [select for diffs], Thu Dec 21 09:50:00 2000 UTC (23 years, 5 months ago) by pjanzen
Branch: MAIN
Changes since 1.11: +14 -8 lines
Diff to previous 1.11 (colored)

Print quotas > 4G correctly; be a little more paranoid with a few buffers.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Sep 11 18:47:29 2000 UTC (23 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Fix pasto: repquota does not report user quotas when a volume argument is given
and there are no group quotas set.  canacar@eee.metu.edu.tr

Revision 1.10 / (download) - annotate - [select for diffs], Tue Feb 1 03:24:08 2000 UTC (24 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.9: +1 -2 lines
Diff to previous 1.9 (colored)

no need to extern int errno if errno.h is included

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jan 17 07:14:24 1997 UTC (27 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

r?index -> strr?chr

Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 12 20:32:17 1996 UTC (27 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +24 -13 lines
Diff to previous 1.7 (colored)

fix a typical use; -Wall

Revision 1.7 / (download) - annotate - [select for diffs], Sat May 4 12:30:21 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

allow operation even if fstab does not label filesystem as supporting
quotas; pointed out by jonny@gaia.coppe.ufrj.br

Revision 1.6 / (download) - annotate - [select for diffs], Thu Apr 25 11:04:14 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

permit quotas to work on mfs; problem reported by rdante@pnet.net

Revision 1.5 / (download) - annotate - [select for diffs], Sun Apr 21 23:41:45 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.4: +4 -3 lines
Diff to previous 1.4 (colored)

sync to netbsd 960418

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jan 7 05:28:06 1996 UTC (28 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored)

accept either ffs or ufs for filesystem name

Revision 1.3 / (download) - annotate - [select for diffs], Mon Nov 6 21:41:00 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

Complete change from ufs -> ffs; (From Tatoku Ogaito; PR #1679)

Revision 1.2 / (download) - annotate - [select for diffs], Tue Oct 24 14:32:22 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

ufs -> ffs

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:48:05 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:48:05 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.