<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/include/dirent.h, branch release/7.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=release%2F7.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=release%2F7.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2003-12-07T21:10:06Z</updated>
<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>
<entry>
<title>Fix namespace issues by using the relatively new visibility</title>
<updated>2002-09-10T18:12:16Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-09-10T18:12:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=9ad8e31ee817854515bca6274ff960317dc479bb'/>
<id>urn:sha1:9ad8e31ee817854515bca6274ff960317dc479bb</id>
<content type='text'>
primitives.
</content>
</entry>
<entry>
<title>style(9): line up function names.</title>
<updated>2002-09-09T03:52:43Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2002-09-09T03:52:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=006d0ddf67259e9e2a43be2fd64d8c8aa0185ac1'/>
<id>urn:sha1:006d0ddf67259e9e2a43be2fd64d8c8aa0185ac1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Breath deep and take __P out of the system include files.</title>
<updated>2002-03-23T17:24:55Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2002-03-23T17:24:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=bb28f3c29b4c91af1b0e79e456294bb08735648a'/>
<id>urn:sha1:bb28f3c29b4c91af1b0e79e456294bb08735648a</id>
<content type='text'>
# This appears to not break X11, but I'm having problems compiling the
# glide part of the server with or without this patch, so I can't tell
# for sure.
</content>
</entry>
<entry>
<title>Add a lock to DIR to make telldir and friends MT-safe.</title>
<updated>2001-01-24T13:01:47Z</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>2001-01-24T13:01:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=f9447cd11209a5fb5ecef3f4cbe539e990f3b1bd'/>
<id>urn:sha1:f9447cd11209a5fb5ecef3f4cbe539e990f3b1bd</id>
<content type='text'>
Clean up stdio.h a bit and remove _THREAD_SAFE.  Some of the
usual macros getc, putc, getchar, putchar are no longer macros.

Approved by:	-arch
</content>
</entry>
<entry>
<title>Move telldir position recording type definitions and prototypes</title>
<updated>2000-12-11T04:00:36Z</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>2000-12-11T04:00:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=10d1cba0bf09c9bdbdc2ac7ff62b9516de75db4c'/>
<id>urn:sha1:10d1cba0bf09c9bdbdc2ac7ff62b9516de75db4c</id>
<content type='text'>
to "telldir.h" in order to prevent namespace pollution in
&lt;dirent.h&gt; (which was including &lt;sys/queue.h&gt;).

Add $FreeBSD$ to rewinddir.c and seekdir.c.
</content>
</entry>
<entry>
<title>Add a LIST_HEAD to DIR for a queue of telldir positions.</title>
<updated>2000-12-06T03:14:28Z</updated>
<author>
<name>Daniel Eischen</name>
<email>deischen@FreeBSD.org</email>
</author>
<published>2000-12-06T03:14:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=9b8551d0a5a8c9210cceeb570ab35efa1a111974'/>
<id>urn:sha1:9b8551d0a5a8c9210cceeb570ab35efa1a111974</id>
<content type='text'>
Also add a location count (used as the magic for telldir)
to DIR.  A future change will also add a mutex/lock.
</content>
</entry>
<entry>
<title>Change #ifdef KERNEL to #ifdef _KERNEL in the public headers.  "KERNEL"</title>
<updated>1999-12-29T05:07:58Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-12-29T05:07:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=c447342094276b4d604449bb776063c7b88c4992'/>
<id>urn:sha1:c447342094276b4d604449bb776063c7b88c4992</id>
<content type='text'>
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot).  This is consistant with the other
BSD's who made this change quite some time ago.  More commits to come.
</content>
</entry>
<entry>
<title>Fixed missing declaration of getdents(2).</title>
<updated>1999-12-23T15:52:13Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1999-12-23T15:52:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=19fa8f60e96f2d63e5d5e8b0cd60c7dd11df5a78'/>
<id>urn:sha1:19fa8f60e96f2d63e5d5e8b0cd60c7dd11df5a78</id>
<content type='text'>
</content>
</entry>
<entry>
<title>style fixes, remove extra braces.</title>
<updated>1999-11-29T19:12:50Z</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>1999-11-29T19:12:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=8b6c02f328e21efda4d5de8c79d8b553e8b4ce2f'/>
<id>urn:sha1:8b6c02f328e21efda4d5de8c79d8b553e8b4ce2f</id>
<content type='text'>
readdir_r is not POSIX according to POSIX_SOURCE, bruce says:
&gt; readdir_r() is in the _POSIX_SOURCE section, but is not a POSIX.1-1990
&gt; function.  It's POSIX.1-1996 so it should be under a different feature
&gt; test which we don't support yet.

make sure errno is saved so that its contents are cleared unless
necessary.

Submitted by: bde
</content>
</entry>
</feed>
