Date: Mon, 30 Apr 2001 17:46:49 -0400 (EDT) From: Mike Heffner <mheffner@vt.edu> To: Peter Pentchev <roam@orbitel.bg> Cc: audit@FreeBSD.org Subject: RE: du(1) -I option to ignore files/dirs Message-ID: <XFMail.20010430174649.mheffner@vt.edu> In-Reply-To: <20010428194259.J415@ringworld.oblivion.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On 28-Apr-2001 Peter Pentchev wrote:
| Hi,
|
| And just when -arch thought they'd gotten rid of me and my du(1) patches.. ;)
|
| Well, since no one had any real objections to adding the -I flag, other than
| 'no one else is doing that' (so why can't we?), and as several people agreed
| that there was no easy (or moderately hard) way to do this with other utils,
| here's an updated patch that properly uses slist's instead of the constant-
| sized arrays in the previous version.
Looks good
|
| +
| +int
| +ignorep(ent)
| + FTSENT *ent;
| +{
| + struct ignentry *ign;
| +
| + if (SLIST_EMPTY(&ignores))
| + return 0;
This isn't needed though because it's caught in the _FOREACH.
Mike
--
Mike Heffner <mheffner@vt.edu>
Blacksburg, VA <mikeh@FreeBSD.org>
http://filebox.vt.edu/users/mheffner
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org
iD8DBQE67d1JFokZQs3sv5kRAo34AJ41LuY+BEGQkJk3P4Ksa5vSGCVejACeIhlP
8YrweHorBHoSNsTbFLIKpMM=
=8HI2
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20010430174649.mheffner>
