atom feed2 messages in org.freebsd.freebsd-auditRe: bin/29625: limits -d etc. should ...
FromSent OnAttachments
Joseph KoshyAug 14, 2001 1:51 am.Other
Mike HeffnerAug 15, 2001 2:26 pm 
Subject:Re: bin/29625: limits -d etc. should not output warning
From:Joseph Koshy (jko@FreeBSD.ORG)
Date:Aug 14, 2001 1:51:41 am
List:org.freebsd.freebsd-audit
Attachments:
getopt-patch - 0.9k

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?