Date: Wed, 15 Aug 2001 17:26:28 -0400 (EDT) From: Mike Heffner <mheffner@novacoxmail.com> To: (Joseph Koshy) <jkoshy@FreeBSD.ORG> Cc: freebsd-audit@FreeBSD.ORG, freebsd-gnats-submit@FreeBSD.ORG Subject: Re: bin/29625: limits -d etc. should not output warning Message-ID: <XFMail.20010815162830.mheffner@novacoxmail.com> In-Reply-To: <20010814085203.2D2AC37B408@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format --_=XFMail.1.5.0.FreeBSD:20010815162830:291=_ Content-Type: text/plain; charset=us-ascii On 14-Aug-2001 Joseph Koshy wrote: | | The problem turns out to be in our implementation of `getopt(3)' | and not in /usr/bin/limits. | | If 'optstring' passed to getopt() starts with a leading ':', then getopt() | should not print a warning for missing arguments. The attached patch fixes | this. | | Could someone on -audit please review? Looks good. Is this to be an MFC candidate? Mike -- Mike Heffner <mheffner@[acm.]vt.edu> Fredericksburg, VA <mikeh@FreeBSD.org> --_=XFMail.1.5.0.FreeBSD:20010815162830:291=_ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7etttFokZQs3sv5kRAubUAJ9J2HHhfvoEcOOmir2BYWDBYgbKjACdG/CY gjSAJ7F5ZEzON6cmSIAulm4= =yfPD -----END PGP SIGNATURE----- --_=XFMail.1.5.0.FreeBSD:20010815162830:291=_-- End of MIME message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20010815162830.mheffner>