<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libc/gen/opendir.c, branch releng/4.8</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F4.8</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F4.8'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2001-06-04T20:59:48Z</updated>
<entry>
<title>MFC rev 1.15 -- avoid listing dir entries twice for the MNT_UNION case</title>
<updated>2001-06-04T20:59:48Z</updated>
<author>
<name>Joerg Wunsch</name>
<email>joerg@FreeBSD.org</email>
</author>
<published>2001-06-04T20:59:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=cf935a3f86c98a698f650939067607096b3a8575'/>
<id>urn:sha1:cf935a3f86c98a698f650939067607096b3a8575</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify sytem call renaming.  Instead of _foo() &lt;-- _libc_foo &lt;-- foo(),</title>
<updated>2000-01-27T23:07:25Z</updated>
<author>
<name>Jason Evans</name>
<email>jasone@FreeBSD.org</email>
</author>
<published>2000-01-27T23:07:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9233c4d9426e03b28e043baeefb6d5a37dc4086e'/>
<id>urn:sha1:9233c4d9426e03b28e043baeefb6d5a37dc4086e</id>
<content type='text'>
just use _foo() &lt;-- foo().  In the case of a libpthread that doesn't do
call conversion (such as linuxthreads and our upcoming libpthread), this
is adequate.  In the case of libc_r, we still need three names, which are
now _thread_sys_foo() &lt;-- _foo() &lt;-- foo().

Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(),
nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo().

Remove all internal libc usage of: creat(), pause(), sleep(), system(),
tcdrain(), wait(), and waitpid().

Make thread cancellation fully POSIX-compliant.

Suggested by:	deischen
</content>
</entry>
<entry>
<title>Add three-tier symbol naming in support of POSIX thread cancellation</title>
<updated>2000-01-12T09:23:48Z</updated>
<author>
<name>Jason Evans</name>
<email>jasone@FreeBSD.org</email>
</author>
<published>2000-01-12T09:23:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=929273386f6e688c008b15fd24932df2ed7e7172'/>
<id>urn:sha1:929273386f6e688c008b15fd24932df2ed7e7172</id>
<content type='text'>
points.  For library functions, the pattern is __sleep() &lt;--
_libc_sleep() &lt;-- sleep().  The arrows represent weak aliases.  For
system calls, the pattern is _read() &lt;-- _libc_read() &lt;-- read().
</content>
</entry>
<entry>
<title>Replace memory leaking instances of realloc with non-leaking reallocf.</title>
<updated>1998-09-16T04:17:47Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>1998-09-16T04:17:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e8420087b0ae4a2d0611cd2f6413d150cfc83554'/>
<id>urn:sha1:e8420087b0ae4a2d0611cd2f6413d150cfc83554</id>
<content type='text'>
In some cases replace if (a == null) a = malloc(x); else a =
realloc(a, x); with simple reallocf(a, x).  Per ANSI-C, this is
guaranteed to be the same thing.

I've been running these on my system here w/o ill effects for some
time.  However, the CTM-express is at part 6 of 34 for the CAM
changes, so I've not been able to do a build world with the CAM in the
tree with these changes.  Shouldn't impact anything, but...
</content>
</entry>
<entry>
<title>Cast pointer to a long instead of an int to keep a 64-bit compiler</title>
<updated>1998-03-09T04:29:00Z</updated>
<author>
<name>John Birrell</name>
<email>jb@FreeBSD.org</email>
</author>
<published>1998-03-09T04:29:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=84d6500535a3d7d272ae6379908a34691b174db5'/>
<id>urn:sha1:84d6500535a3d7d272ae6379908a34691b174db5</id>
<content type='text'>
happy. The code works either way, but I like a clean compile.
</content>
</entry>
<entry>
<title>Fixed errors in the Lite2 merge.  Some style changes were mismerged.</title>
<updated>1997-03-12T12:35:44Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1997-03-12T12:35:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=03dcee8db19c5fc1e180357bfec4399963dbac77'/>
<id>urn:sha1:03dcee8db19c5fc1e180357bfec4399963dbac77</id>
<content type='text'>
My changes to preserve errno across free() and close() and to report
fstat() errors properly were blown away.

Updated the FreeBSD changes to match the Lite2 style fixes.
</content>
</entry>
<entry>
<title>Merge from Lite2:</title>
<updated>1997-03-11T11:52:33Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1997-03-11T11:52:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=adf6ad9e6995cbd8d78602af6c0ca20cadb497a0'/>
<id>urn:sha1:adf6ad9e6995cbd8d78602af6c0ca20cadb497a0</id>
<content type='text'>
  filesystem include updates, duplicate group suppression, cleanups,
  filesystem whiteout support (unionfs), bidir popen().
</content>
</entry>
<entry>
<title>Cache the result of getpagesize() so we only make one syscall.</title>
<updated>1996-05-02T08:43:05Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1996-05-02T08:43:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d71458ee72dc019a408ccd80b4f12abc573da287'/>
<id>urn:sha1:d71458ee72dc019a408ccd80b4f12abc573da287</id>
<content type='text'>
Use getpagesize instead of CLBYTES.
</content>
</entry>
<entry>
<title>stat() before open() because opening of special files may be harmful.</title>
<updated>1996-03-29T12:55:54Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1996-03-29T12:55:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0b50c8d6537516aaf03902e262949f8a3fc62500'/>
<id>urn:sha1:0b50c8d6537516aaf03902e262949f8a3fc62500</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix bugs in opendir():</title>
<updated>1995-04-21T15:23:27Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1995-04-21T15:23:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=55e2b2c608f8dff458deb2dc595df08b052bf3d1'/>
<id>urn:sha1:55e2b2c608f8dff458deb2dc595df08b052bf3d1</id>
<content type='text'>
- it succeeded on non-directories (see POSIX 5.1.2.4).
- it hung on (non-open) named pipes.
- it leaked memory if the second malloc() failed.
- it didn't preserve errno across errors in close().
</content>
</entry>
</feed>
