<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libc/stdlib/realpath.c, branch release/3.5.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F3.5.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F3.5.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>1998-09-16T04:17:47Z</updated>
<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>realpath() should break on looped symlinks.</title>
<updated>1997-07-16T11:25:48Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1997-07-16T11:25:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e53211ce4de951664f8f446c631a8acb655930f5'/>
<id>urn:sha1:e53211ce4de951664f8f446c631a8acb655930f5</id>
<content type='text'>
PR:		3911
Reviewed by:	phk
Submitted by:	Shigio Yamaguchi &lt;shigio@wafu.netgate.net&gt;
</content>
</entry>
<entry>
<title>Part 2 of a failed commit (cvs broke).  Original message:</title>
<updated>1997-03-13T06:58:46Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1997-03-13T06:58:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d01a28e222cb4a0478324b12527a31cbfa4b8dfa'/>
<id>urn:sha1:d01a28e222cb4a0478324b12527a31cbfa4b8dfa</id>
<content type='text'>
Back out a dubious Lite2 change to "optimise" getcwd() to look at $PWD
because it's potentially dangerous (think: symlink races).  Move
realpath() back to it's original location, and remove getcwd_physical()
by renaming it back to getcwd() and zapping the original getcwd wrapper.

Noticed by: bde

The following commits already happened but the log message got lost:

Modified Files:
   gen/Makefile.inc gen/getcwd.c stdlib/Makefile.inc
Removed Files:
   gen/realpath.3
</content>
</entry>
<entry>
<title>merge from Lite2 - realpath() now shares a lot of code with getcwd()</title>
<updated>1997-03-11T11:37:59Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1997-03-11T11:37:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9dc11641892a7ea89fa1adddf6556dcfa1338a38'/>
<id>urn:sha1:9dc11641892a7ea89fa1adddf6556dcfa1338a38</id>
<content type='text'>
and is now in the same file.
</content>
</entry>
<entry>
<title>Don't attempt to lstat() the POSIXLY invalid empty pathname.</title>
<updated>1995-02-25T16:06:07Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1995-02-25T16:06:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5dddb8148b1b03724e670d3870b8029be79e9449'/>
<id>urn:sha1:5dddb8148b1b03724e670d3870b8029be79e9449</id>
<content type='text'>
realpath() still accepts "" as an arg and converts it to a canonical
pathname for the current directory.
</content>
</entry>
<entry>
<title>BSD 4.4 Lite Lib Sources</title>
<updated>1994-05-27T05:00:24Z</updated>
<author>
<name>Rodney W. Grimes</name>
<email>rgrimes@FreeBSD.org</email>
</author>
<published>1994-05-27T05:00:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=58f0484fa251c266ede97b591b499fe3dd4f578e'/>
<id>urn:sha1:58f0484fa251c266ede97b591b499fe3dd4f578e</id>
<content type='text'>
</content>
</entry>
</feed>
