<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/include/wchar.h, branch stable/6</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=stable%2F6</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=stable%2F6'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2004-08-12T12:19:11Z</updated>
<entry>
<title>Implement wcwidth() as an inline function.</title>
<updated>2004-08-12T12:19:11Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2004-08-12T12:19:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=de6c9c9d5bf3ec1f15d6196253f08c327a504fa7'/>
<id>urn:sha1:de6c9c9d5bf3ec1f15d6196253f08c327a504fa7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mark functions pure where applicable.</title>
<updated>2004-07-23T02:29:37Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2004-07-23T02:29:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=affcb87197648bb9eb2dfc836359fa65995afb5f'/>
<id>urn:sha1:affcb87197648bb9eb2dfc836359fa65995afb5f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement the GNU extensions of mbsnrtowcs() and wcsnrtombs(). These are</title>
<updated>2004-07-21T10:54:57Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2004-07-21T10:54:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=1949a3470f29c5edaa5fc2770c2886d653fa68d1'/>
<id>urn:sha1:1949a3470f29c5edaa5fc2770c2886d653fa68d1</id>
<content type='text'>
convenient when the source string isn't null-terminated.

Implement the other conversion functions (mbstowcs(), mbsrtowcs(), wcstombs(),
wcsrtombs()) in terms of these new functions.
</content>
</entry>
<entry>
<title>Add fgetwln(), a wide character version of fgetln().</title>
<updated>2004-07-16T06:06:09Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2004-07-16T06:06:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=9531ef0fc16cd1cfaa20e5db15fb64021a04ee74'/>
<id>urn:sha1:9531ef0fc16cd1cfaa20e5db15fb64021a04ee74</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typo in putwc().</title>
<updated>2004-06-07T10:31:10Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2004-06-07T10:31:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=f05d1a464164c0fd72c4925e8c917d15feb456c7'/>
<id>urn:sha1:f05d1a464164c0fd72c4925e8c917d15feb456c7</id>
<content type='text'>
Noticed by:	stefanf
</content>
</entry>
<entry>
<title>Bring back the macro versions of getwc(), getwchar(), putwc() and</title>
<updated>2004-05-27T10:08:44Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2004-05-27T10:08:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=84bb9aaa02a5ca406c7752949fcb499f974dafc4'/>
<id>urn:sha1:84bb9aaa02a5ca406c7752949fcb499f974dafc4</id>
<content type='text'>
putwchar(), but this time avoid redundantly declaring __stdinp and
__stdoutp when source files include both &lt;stdio.h&gt; and &lt;wchar.h&gt;.
</content>
</entry>
<entry>
<title>Revert to rev. 1.36 until issues with -Wredundant-decls are sorted out.</title>
<updated>2004-05-25T12:41:02Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2004-05-25T12:41:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=30af8f30f75b1d245618e98ab9a977c4886a5c09'/>
<id>urn:sha1:30af8f30f75b1d245618e98ab9a977c4886a5c09</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typo in previous: getwc() should call fgetwc(), not the function</title>
<updated>2004-05-25T12:02:49Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2004-05-25T12:02:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=15f1cbdd6a89c4244d67c601912c4da26d728fc3'/>
<id>urn:sha1:15f1cbdd6a89c4244d67c601912c4da26d728fc3</id>
<content type='text'>
version of itself.

Noticed by:	stefanf
</content>
</entry>
<entry>
<title>Provide trivial macro implementations of getwc(), getwchar(), putwc() and</title>
<updated>2004-05-25T10:42:52Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2004-05-25T10:42:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=e7e4715db22de68a703922a64c1a91d0f5e6c523'/>
<id>urn:sha1:e7e4715db22de68a703922a64c1a91d0f5e6c523</id>
<content type='text'>
putwchar() to reduce function call overhead.
</content>
</entry>
<entry>
<title>Change the definition of NULL on ia64 (for LP64 compilations) from</title>
<updated>2003-12-07T21:10:06Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2003-12-07T21:10:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=12eb46c8bb2bf8a79a8151f4bd96aa7ce5bfe63d'/>
<id>urn:sha1:12eb46c8bb2bf8a79a8151f4bd96aa7ce5bfe63d</id>
<content type='text'>
an int constant to a long constant. This change improves consistency
in the following two ways:
1. The first 8 arguments are always passed in registers on ia64, which
   by virtue of the generated code implicitly widens ints to longs and
   allows the use of an 32-bit integral type for 64-bit arguments.
   Subsequent arguments are passed onto the memory stack, which does
   not exhibit the same behaviour and consequently do not allow this.
   In practice this means that variadic functions taking pointers
   and given NULL (without cast) work as long as the NULL is passed
   in one of the first 8 arguments. A SIGSEGV is more likely the
   result if such would be done for stack-based arguments. This is
   due to the fact that the upper 4 bytes remain undefined.
2. All 64-bit platforms that FreeBSD supports, with the obvious
   exception of ia64, allow 32-bit integral types (specifically NULL)
   when 64-bit pointers are expected in variadic functions by way of
   how the compiler generates code. As such, code that works correctly
   (whether rightfully so or not) on any platform other than ia64, may
   fail on ia64.

To more easily allow tweaking of the definition of NULL, this commit
removes the 12 definitions in the various headers and puts it in a
new header that can be included whenever NULL is to be made visible.

This commit fixes GNOME, emacs, xemacs and a whole bunch of ports
that I don't particularly care about at this time...
</content>
</entry>
</feed>
