<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/include/string.h, branch release/5.5.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.5.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.5.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2006-05-23T04:09:12Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2006-05-23T04:09:12Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2006-05-23T04:09:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8bf7295cd17b8415c40bde11aa8f5bbbd597e5d6'/>
<id>urn:sha1:8bf7295cd17b8415c40bde11aa8f5bbbd597e5d6</id>
<content type='text'>
'RELENG_5_5_0_RELEASE'.

This commit was manufactured to restore the state of the 5.5-RELEASE image.
</content>
</entry>
<entry>
<title>MFC:</title>
<updated>2005-06-27T01:54:40Z</updated>
<author>
<name>Tom Rhodes</name>
<email>trhodes@FreeBSD.org</email>
</author>
<published>2005-06-27T01:54:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6b8fa543106f55cc4bc193b9271337ab8d97aa1f'/>
<id>urn:sha1:6b8fa543106f55cc4bc193b9271337ab8d97aa1f</id>
<content type='text'>
According to the information on:
http://www.opengroup.org/onlinepubs/009695399/functions/swab.html
the prototype for swab() should be in &lt;unistd.h&gt; and not in &lt;string.h&gt;.
Move it, and update to match SUS.  Leave the prototype in string.h for
now, for backwards compat.

PR:		74751
Submitted by:	Craig Rodrigues &lt;rodrigc@crodrigues.org&gt;
Discussed with:	das
</content>
</entry>
<entry>
<title>Mark functions pure where applicable. A notable exclusion is strcoll(),</title>
<updated>2004-07-23T02:20:05Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2004-07-23T02:20:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=779f8b0d2a3b6cafecd3837c354b8620f904ab15'/>
<id>urn:sha1:779f8b0d2a3b6cafecd3837c354b8620f904ab15</id>
<content type='text'>
which is not strictly pure because it calls malloc()/free() in some cases.
</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-test2/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>
<entry>
<title>Correct visibility conditionals for memccpy(), strdup(), and</title>
<updated>2002-10-14T20:38:40Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-10-14T20:38:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=32484af1c42ce18acd88c7e8b7c54f5e312029cc'/>
<id>urn:sha1:32484af1c42ce18acd88c7e8b7c54f5e312029cc</id>
<content type='text'>
strtok_r().  Merge conditional prototypes into the regular block.
</content>
</entry>
<entry>
<title>Make stpcpy() only visiable w/in __BSD_VISIBLE.</title>
<updated>2002-10-05T22:07:28Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2002-10-05T22:07:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=103f8a93cb0eaaaecb05b03229a091a5f0a0f1fb'/>
<id>urn:sha1:103f8a93cb0eaaaecb05b03229a091a5f0a0f1fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add stpcpy(3).</title>
<updated>2002-10-03T19:51:04Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2002-10-03T19:51:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1d6bd7d717ad4f178c929ebf35c97345edd3bb30'/>
<id>urn:sha1:1d6bd7d717ad4f178c929ebf35c97345edd3bb30</id>
<content type='text'>
</content>
</entry>
<entry>
<title>o Merge &lt;machine/ansi.h&gt; and &lt;machine/types.h&gt; into a new header</title>
<updated>2002-08-21T16:20:02Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-08-21T16:20:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=abbd8902334e8c6409384593b4a2c81f939b47b4'/>
<id>urn:sha1:abbd8902334e8c6409384593b4a2c81f939b47b4</id>
<content type='text'>
  called &lt;machine/_types.h&gt;.
o &lt;machine/ansi.h&gt; will continue to live so it can define MD clock
  macros, which are only MD because of gratuitous differences between
  architectures.
o Change all headers to make use of this.  This mainly involves
  changing:
    #ifdef _BSD_FOO_T_
    typedef	_BSD_FOO_T_	foo_t;
    #undef _BSD_FOO_T_
    #endif
  to:
    #ifndef _FOO_T_DECLARED
    typedef	__foo_t	foo_t;
    #define	_FOO_T_DECLARED
    #endif

Concept by:	bde
Reviewed by:	jake, obrien
</content>
</entry>
<entry>
<title>Add support for X/Open.</title>
<updated>2002-04-15T03:21:21Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-04-15T03:21:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6e07075911f8bff7fc01a24b909acb50ab13dd59'/>
<id>urn:sha1:6e07075911f8bff7fc01a24b909acb50ab13dd59</id>
<content type='text'>
PR: 37078
</content>
</entry>
<entry>
<title>o Move some function prototypes from &lt;string.h&gt; to the newly rewritten</title>
<updated>2002-04-04T05:41:57Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-04-04T05:41:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=61b60edfd3fff20f884419f8097870c7045315c9'/>
<id>urn:sha1:61b60edfd3fff20f884419f8097870c7045315c9</id>
<content type='text'>
  &lt;strings.h&gt;, based on POSIX.1-2001's requirements.
o Add 'restrict' qualifier (spelled '__restrict') to functions in
  &lt;string.h&gt;, as per C99 and POSIX.1-2001.
o Properly expose new POSIX.1-2001 functions in &lt;string.h&gt;.
</content>
</entry>
</feed>
