<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/usr.bin/printf/printf.c, branch release/4.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F4.0.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F4.0.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>1998-12-07T12:14:04Z</updated>
<entry>
<title>Fixed warnx format errors in printf and csh, and snprintf format errors</title>
<updated>1998-12-07T12:14:04Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1998-12-07T12:14:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3b53d3803e4824def99638e370f15ecbb8b2dde1'/>
<id>urn:sha1:3b53d3803e4824def99638e370f15ecbb8b2dde1</id>
<content type='text'>
in sh, by using separate macros for the 1, 2 and 3-arg calls to warnx.
(The 3-arg warnx macro in sh/bltin/bltin.h used to require bogus dummy
args.)
</content>
</entry>
<entry>
<title>Back out revision 1.10.  It broke the build of sh, which compiles</title>
<updated>1997-11-18T15:23:23Z</updated>
<author>
<name>John Polstra</name>
<email>jdp@FreeBSD.org</email>
</author>
<published>1997-11-18T15:23:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b0c9a86d123c2bd4961e2c6047cabc0c5ddff068'/>
<id>urn:sha1:b0c9a86d123c2bd4961e2c6047cabc0c5ddff068</id>
<content type='text'>
this file with warnx() defined as a macro.
</content>
</entry>
<entry>
<title>Fix: too many arguments for format string in 4 calls to warnx().</title>
<updated>1997-11-18T05:45:19Z</updated>
<author>
<name>John Polstra</name>
<email>jdp@FreeBSD.org</email>
</author>
<published>1997-11-18T05:45:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c8a2e150070b8012abddeef6ae14189750dce49d'/>
<id>urn:sha1:c8a2e150070b8012abddeef6ae14189750dce49d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#include &lt;unistd.h&gt; for getopt(3) call.</title>
<updated>1997-08-07T21:47:31Z</updated>
<author>
<name>Steve Price</name>
<email>steve@FreeBSD.org</email>
</author>
<published>1997-08-07T21:47:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9d19feb501dd6af29c9ea845cdd265f320a8d0e4'/>
<id>urn:sha1:9d19feb501dd6af29c9ea845cdd265f320a8d0e4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>compare return value from getopt against -1 rather than EOF, per the final</title>
<updated>1997-03-29T04:34:07Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>1997-03-29T04:34:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1c8af8787354e20c2b38cab5801698133ff8b403'/>
<id>urn:sha1:1c8af8787354e20c2b38cab5801698133ff8b403</id>
<content type='text'>
posix standard on the topic.
</content>
</entry>
<entry>
<title>-Wall cleaning.</title>
<updated>1996-12-14T05:32:27Z</updated>
<author>
<name>Steve Price</name>
<email>steve@FreeBSD.org</email>
</author>
<published>1996-12-14T05:32:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3ec30b7943459ffc1691a787736ddc156bda81a7'/>
<id>urn:sha1:3ec30b7943459ffc1691a787736ddc156bda81a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove annoying -Wall warning.</title>
<updated>1996-10-06T02:40:39Z</updated>
<author>
<name>Steve Price</name>
<email>steve@FreeBSD.org</email>
</author>
<published>1996-10-06T02:40:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e6068a345fa2c17485bab8b839a010e073bd46a8'/>
<id>urn:sha1:e6068a345fa2c17485bab8b839a010e073bd46a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>When used as a shell builtin, this program decoded a subset of arguments</title>
<updated>1996-10-01T04:56:59Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1996-10-01T04:56:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d72f654c65891ad9a91e012d15e13e266c0238fb'/>
<id>urn:sha1:d72f654c65891ad9a91e012d15e13e266c0238fb</id>
<content type='text'>
known to printf(3) and then used printf() to format it... The only
problem what the #define printf out1fmt.  The code was behaving differently
when run as a shell builtin since out1fmt() isn't printf(3).

Simple hack.  Print to a buffer and fputs (also #defined for sh) the
result.  This should fix the printf builtin problem in PR#1673, rather
than leaving the call commented out.  (printf.o was being statically linked
in anyway, we might as well use it)
</content>
</entry>
<entry>
<title>Move out some of the shell builtin bogosity from printf's source to</title>
<updated>1995-12-10T15:40:42Z</updated>
<author>
<name>Joerg Wunsch</name>
<email>joerg@FreeBSD.org</email>
</author>
<published>1995-12-10T15:40:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d9f9371008a4433a269555c374912db62ef797c0'/>
<id>urn:sha1:d9f9371008a4433a269555c374912db62ef797c0</id>
<content type='text'>
sh's builtin/bltin.h.
</content>
</entry>
<entry>
<title>Remove trailing whitespace.</title>
<updated>1995-05-30T06:41:30Z</updated>
<author>
<name>Rodney W. Grimes</name>
<email>rgrimes@FreeBSD.org</email>
</author>
<published>1995-05-30T06:41:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7799f52a32f592a7efe259bc3411ba52d13db797'/>
<id>urn:sha1:7799f52a32f592a7efe259bc3411ba52d13db797</id>
<content type='text'>
</content>
</entry>
</feed>
