<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/stdlib/getopt.c, branch releng/9.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F9.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F9.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2007-01-09T00:28:16Z</updated>
<entry>
<title>Per Regents of the University of Calfornia letter, remove advertising</title>
<updated>2007-01-09T00:28:16Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2007-01-09T00:28:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c879ae3536e6d92b8d96c8965c5b05fcb9541520'/>
<id>urn:sha1:c879ae3536e6d92b8d96c8965c5b05fcb9541520</id>
<content type='text'>
clause.

# If I've done so improperly on a file, please let me know.
</content>
</entry>
<entry>
<title>Merge some fixes from NetBSD's getopt.c v1.26:</title>
<updated>2004-03-06T17:05:45Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2004-03-06T17:05:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9109761318efa6644bdfeea7c47421cdad6338d2'/>
<id>urn:sha1:9109761318efa6644bdfeea7c47421cdad6338d2</id>
<content type='text'>
cleanups, handling 'ls -l-', handling '--*'

Note this is in the same time back out of our v1.3
"Don't print an error message if the bad option is '?'"
because it directly violates POSIX.
</content>
</entry>
<entry>
<title>Do not use __progname directly (except in [gs]etprogname(3)).</title>
<updated>2002-03-29T22:43:43Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2002-03-29T22:43:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4cd01193678a79d81b61be31c50b139d7a4c44d4'/>
<id>urn:sha1:4cd01193678a79d81b61be31c50b139d7a4c44d4</id>
<content type='text'>
Also, make an internal _getprogname() that is used only inside
libc. For libc, getprogname(3) is a weak symbol in case a
function of the same name is defined in userland.
</content>
</entry>
<entry>
<title>Fix the style of the SCM ID's.</title>
<updated>2002-03-22T21:53:29Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2002-03-22T21:53:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=333fc21e3cd79bca0c94d7722c5a56cb5ad078d1'/>
<id>urn:sha1:333fc21e3cd79bca0c94d7722c5a56cb5ad078d1</id>
<content type='text'>
I believe have made all of libc .c's as consistent as possible.
</content>
</entry>
<entry>
<title>If the string specifying the allowed options starts with a leading `:',</title>
<updated>2001-08-16T03:27:03Z</updated>
<author>
<name>Joseph Koshy</name>
<email>jkoshy@FreeBSD.org</email>
</author>
<published>2001-08-16T03:27:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2f46ebcdb7c6e5ea0cee3237188982d0df88c8a9'/>
<id>urn:sha1:2f46ebcdb7c6e5ea0cee3237188982d0df88c8a9</id>
<content type='text'>
`getopt(3)' should not print a warning for missing argument values.

PR:		bin/29625
Reviewed by:	mikeh
MFC after:	1 week
</content>
</entry>
<entry>
<title>Don't print an error message if the bad option is '?'.  This has been</title>
<updated>2000-09-04T03:49:22Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2000-09-04T03:49:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e9d918edb6b393ade32620c1625be0a2bd77beef'/>
<id>urn:sha1:e9d918edb6b393ade32620c1625be0a2bd77beef</id>
<content type='text'>
in my tree for a long time.  bde reviewed this once upon a time and
said it was OK, iirc.  This also obviates the need to put ? in the
optstring argument to preclude the extra warning message which some
people think confuses users.  When I made my getopt cleanups of a long
time ago, this was the compromise reached.  I just neglected to commit
it until now.
</content>
</entry>
<entry>
<title>Fix handling of trailing :'s to match what other OSes do (spit out</title>
<updated>1999-12-17T01:52:15Z</updated>
<author>
<name>Jordan K. Hubbard</name>
<email>jkh@FreeBSD.org</email>
</author>
<published>1999-12-17T01:52:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f8d7aff7a07dde61ac0faf4dc01187b288107e81'/>
<id>urn:sha1:f8d7aff7a07dde61ac0faf4dc01187b288107e81</id>
<content type='text'>
a diagnostis).

Submitted by:	Guy Harris &lt;gharris@flashcom.net&gt;
</content>
</entry>
<entry>
<title>Import CSRG 4.4BSD-Lite2 lib/libc onto vendor branch</title>
<updated>1997-03-11T11:29:42Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1997-03-11T11:29:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=662909a7800d5634772b89ca1509765dda837508'/>
<id>urn:sha1:662909a7800d5634772b89ca1509765dda837508</id>
<content type='text'>
</content>
</entry>
</feed>
