<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/arm/include/_limits.h, branch release/9.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F9.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F9.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2011-01-08T11:13:34Z</updated>
<entry>
<title>Fix types of some values in machine/_limits.h.</title>
<updated>2011-01-08T11:13:34Z</updated>
<author>
<name>Tijl Coosemans</name>
<email>tijl@FreeBSD.org</email>
</author>
<published>2011-01-08T11:13:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9858863cd4959006703cb9529d07777637315c69'/>
<id>urn:sha1:9858863cd4959006703cb9529d07777637315c69</id>
<content type='text'>
On some architectures UCHAR_MAX and USHRT_MAX had type unsigned int.
However, lacking integer suffixes for types smaller than int, their type
should correspond to that of an object of type unsigned char (or short)
when used in an expression with objects of type int. In that case unsigned
char (short) are promoted to int (i.e. signed) so the type of UCHAR_MAX and
USHRT_MAX should also be int.

Where MIN/MAX constants implicitly have the correct type the suffix has
been removed.

While here, correct some comments.

Reviewed by:	bde
Approved by:	kib (mentor)
</content>
</entry>
<entry>
<title>Remove unused support for 64 bit long on 32 bit architectures.</title>
<updated>2011-01-07T22:57:31Z</updated>
<author>
<name>Tijl Coosemans</name>
<email>tijl@FreeBSD.org</email>
</author>
<published>2011-01-07T22:57:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=911127a0d6496519eccd4e9b8ff1170bb04c957f'/>
<id>urn:sha1:911127a0d6496519eccd4e9b8ff1170bb04c957f</id>
<content type='text'>
It was used mainly to discover and fix some 64-bit portability problems
before 64-bit arches were widely available.

Discussed with:	bde
Approved by:	kib (mentor)
</content>
</entry>
<entry>
<title>Move MINSIGSTKSZ from &lt;machine/signal.h&gt; to &lt;machine/_limits.h&gt; and rename</title>
<updated>2005-08-20T16:44:41Z</updated>
<author>
<name>Stefan Farfeleder</name>
<email>stefanf@FreeBSD.org</email>
</author>
<published>2005-08-20T16:44:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a1f85d7f83f899786626708083839512b2cd4ebd'/>
<id>urn:sha1:a1f85d7f83f899786626708083839512b2cd4ebd</id>
<content type='text'>
it to __MINSIGSTKSZ.  Define MINSIGSTKSZ in &lt;sys/signal.h&gt;.

This is done in order to use MINSIGSTKSZ for the macro PTHREAD_STACK_MIN
in &lt;pthread.h&gt; (soon &lt;limits.h&gt;) without having to include the whole
&lt;sys/signal.h&gt; header.

Discussed with:		bde
</content>
</entry>
<entry>
<title>Start all license statements with /*-</title>
<updated>2005-01-05T21:58:49Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2005-01-05T21:58:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d8315c79d932951f2db396014e28ffa03a31b850'/>
<id>urn:sha1:d8315c79d932951f2db396014e28ffa03a31b850</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove advertising clause from University of California Regent's license,</title>
<updated>2004-04-05T21:29:41Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2004-04-05T21:29:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=29ae923f442cca68a051d4d299dae535758b44d4'/>
<id>urn:sha1:29ae923f442cca68a051d4d299dae535758b44d4</id>
<content type='text'>
per letter dated July 22, 1999.

Approved by: core
</content>
</entry>
<entry>
<title>sys/sys/limits.h:</title>
<updated>2003-05-19T20:29:07Z</updated>
<author>
<name>Alexander Kabaev</name>
<email>kan@FreeBSD.org</email>
</author>
<published>2003-05-19T20:29:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=980ded9a7d8747828c4ec547654c90cbcb3b6910'/>
<id>urn:sha1:980ded9a7d8747828c4ec547654c90cbcb3b6910</id>
<content type='text'>
 - Fix visibilty test for LONG_BIT and WORD_BIT.  `#if defined(__FOO_VISIBLE)'
   is alays wrong because __FOO_VISIBLE is always defined (to 0 for
   invisibility).

sys/&lt;arch&gt;/include/limits.h
sys/&lt;arch&gt;/include/_limits.h:

 - Style fixes.

Submitted by:	bde
Reviewed by:	bsdmike
Approved by:	re (scottl)
</content>
</entry>
<entry>
<title>Style fixes.</title>
<updated>2003-05-04T22:13:04Z</updated>
<author>
<name>Alexander Kabaev</name>
<email>kan@FreeBSD.org</email>
</author>
<published>2003-05-04T22:13:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0eda4c08a53f76ceee2b96ac299d2b470ed7dcab'/>
<id>urn:sha1:0eda4c08a53f76ceee2b96ac299d2b470ed7dcab</id>
<content type='text'>
Remove DBL_DIG, DBL_MIN, DBL_MAX and their FLT_ counterparts, they
were marked for deprecation ever since SUSv1 at least.
Only define ULLONG_MIN/MAX and LLONG_MAX if long long type is
supported.
Restore a lost comment in MI _limits.h file and remove it from
sys/limits.h where it does not belong.
</content>
</entry>
<entry>
<title>Add a new sys/limits.h file which in turn depends on machine/_limits.h</title>
<updated>2003-04-23T21:41:59Z</updated>
<author>
<name>Alexander Kabaev</name>
<email>kan@FreeBSD.org</email>
</author>
<published>2003-04-23T21:41:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6fd839f9c737f75c37d85477cffac22def69f98f'/>
<id>urn:sha1:6fd839f9c737f75c37d85477cffac22def69f98f</id>
<content type='text'>
to get actual constant values. This is in preparation for machine/limits.h
retirement.

Discussed on:	standards@
Submitted by:	Craig Rodrigues &lt;rodrigc@attbi.com&gt;  (*)
Modified by:	kan
</content>
</entry>
<entry>
<title>MB_LEN_MAX is not MD, move it to the MI limits.h.</title>
<updated>2002-12-22T06:38:45Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-12-22T06:38:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b30a7779d40ef3bf129053529d232478553f1941'/>
<id>urn:sha1:b30a7779d40ef3bf129053529d232478553f1941</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Create a new header &lt;machine/_stdint.h&gt; for storing MD parts of</title>
<updated>2002-07-29T17:41:23Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-07-29T17:41:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=49545b3891a707a543faab07822d56d86c4ee73c'/>
<id>urn:sha1:49545b3891a707a543faab07822d56d86c4ee73c</id>
<content type='text'>
&lt;stdint.h&gt;.  Previously, parts were defined in &lt;machine/ansi.h&gt; and
&lt;machine/limits.h&gt;.  This resulted in two problems:
  (1) Defining macros in &lt;machine/ansi.h&gt; gets in the way of that
      header only defining types.
  (2) Defining C99 limits in &lt;machine/limits.h&gt; adds pollution to
      &lt;limits.h&gt;.
</content>
</entry>
</feed>
