<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/bin/sh/options.h, branch stable/9</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F9</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F9'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2011-06-18T23:43:28Z</updated>
<entry>
<title>sh: Add do-nothing -h option.</title>
<updated>2011-06-18T23:43:28Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2011-06-18T23:43:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=54b16435b7b8780422d7e032f32a74843e1b9997'/>
<id>urn:sha1:54b16435b7b8780422d7e032f32a74843e1b9997</id>
<content type='text'>
POSIX requires a -h option to sh and set, to locate and remember utilities
invoked by functions as they are defined. Given that this
locate-and-remember process is optional elsewhere, it seems safe enough to
make this option do nothing.

POSIX does not specify a long name for this option. Follow ksh in calling it
"trackall".
</content>
</entry>
<entry>
<title>sh: Fix duplicate prototypes for builtins.</title>
<updated>2011-06-13T21:03:27Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2011-06-13T21:03:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=454a02b3728543503f2f30771a867148a27f71b3'/>
<id>urn:sha1:454a02b3728543503f2f30771a867148a27f71b3</id>
<content type='text'>
Have mkbuiltins write the prototypes for the *cmd functions to builtins.h
instead of builtins.c and include builtins.h in more .c files instead of
duplicating prototypes for *cmd functions in other headers.
</content>
</entry>
<entry>
<title>sh: Various warning fixes (from WARNS=6 NO_WERROR=1):</title>
<updated>2009-12-27T18:04:05Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2009-12-27T18:04:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=384aedab5807fb0ed022a80b92ac70a9cd18339f'/>
<id>urn:sha1:384aedab5807fb0ed022a80b92ac70a9cd18339f</id>
<content type='text'>
- const
- initializations to silence -Wuninitialized (it was safe anyway)
- remove nested extern declarations
- rename "index" locals to "idx"
</content>
</entry>
<entry>
<title>sh: Constify various strings.</title>
<updated>2009-12-24T18:41:14Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2009-12-24T18:41:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2cac6e364a22fbb88eff4a1d36a09fef0064b421'/>
<id>urn:sha1:2cac6e364a22fbb88eff4a1d36a09fef0064b421</id>
<content type='text'>
Most of this is adding const keywords, but setvar() in var.c had to be
changed somewhat more.
</content>
</entry>
<entry>
<title>Remove clause 3 from the UCB licenses.</title>
<updated>2004-04-06T20:06:54Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2004-04-06T20:06:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6195fb4102afbdfc3da8c0ac2e4cacb0f37d89a9'/>
<id>urn:sha1:6195fb4102afbdfc3da8c0ac2e4cacb0f37d89a9</id>
<content type='text'>
OK'ed by:	imp, core
</content>
</entry>
<entry>
<title>Add a -P/-o physical option which behaves similarly to bash/ksh's options</title>
<updated>2002-07-25T10:57:39Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-07-25T10:57:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7e1975c2b2dd30b820230782ad456dd5772918f5'/>
<id>urn:sha1:7e1975c2b2dd30b820230782ad456dd5772918f5</id>
<content type='text'>
by the same name. This option makes the cd and pwd builtins behave physically
(as opposed to logically) by default.

Submitted by:	fanf
</content>
</entry>
<entry>
<title>o __P has been reoved</title>
<updated>2002-02-02T06:50:57Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2002-02-02T06:50:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5134c3f7990c353d2442ddd8a9a1d30b80099e43'/>
<id>urn:sha1:5134c3f7990c353d2442ddd8a9a1d30b80099e43</id>
<content type='text'>
o Old-style K&amp;R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
  they already are.
o Change
	int
	foo() {
	...
  to
	int
	foo(void)
	{
	...
</content>
</entry>
<entry>
<title>Fix warnings, some of them serious because sh violated name</title>
<updated>2000-04-20T09:49:16Z</updated>
<author>
<name>Martin Cracauer</name>
<email>cracauer@FreeBSD.org</email>
</author>
<published>2000-04-20T09:49:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f01e3d0cfe6ba7cc1e269472f2a8267359aabeda'/>
<id>urn:sha1:f01e3d0cfe6ba7cc1e269472f2a8267359aabeda</id>
<content type='text'>
spaces reserved by the header files it includes.

mkinit.c still produces C code with redundant declarations, although
they are more harmless since they automatically derived from the right
places.
</content>
</entry>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-27T23:15:48Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-27T23:15:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2a4562393f80633b81c11d4f7df00548d1cc3c48'/>
<id>urn:sha1:2a4562393f80633b81c11d4f7df00548d1cc3c48</id>
<content type='text'>
</content>
</entry>
<entry>
<title>The immediate execution of traps I introduced in September 1998 (to</title>
<updated>1999-04-01T13:27:36Z</updated>
<author>
<name>Martin Cracauer</name>
<email>cracauer@FreeBSD.org</email>
</author>
<published>1999-04-01T13:27:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c1c72a3c2a21f537b989350b1b06b8a44831987a'/>
<id>urn:sha1:c1c72a3c2a21f537b989350b1b06b8a44831987a</id>
<content type='text'>
make /etc/rc interruptible in cases when programs hang with blocked
signals) isn't standard enough.

It is now switched off by default and a new switch -T enables it.

You should update /etc/rc to the version I'm about to commit in a few
minutes to keep it interruptible.
</content>
</entry>
</feed>
