<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/lib/xreadlink.c, branch v5.2.0</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v5.2.0</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v5.2.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2003-11-21T08:21:23Z</updated>
<entry>
<title>(xreadlink): Correct outdated comment.</title>
<updated>2003-11-21T08:21:23Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-11-21T08:21:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d23aea4a1e165893531a7aa5883d25a252336600'/>
<id>urn:sha1:d23aea4a1e165893531a7aa5883d25a252336600</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update from gnulib.</title>
<updated>2003-09-13T22:01:20Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-09-13T22:01:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=dce9582d2ca06a6c50165014b21d95654541e8da'/>
<id>urn:sha1:dce9582d2ca06a6c50165014b21d95654541e8da</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Include &lt;sys/types.h&gt; unconditionally, instead of</title>
<updated>2003-07-04T11:38:37Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-07-04T11:38:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2ada37fa94de221ef53ace84515a5e8b9518eedc'/>
<id>urn:sha1:2ada37fa94de221ef53ace84515a5e8b9518eedc</id>
<content type='text'>
having it depend on HAVE_SYS_TYPES_H.
</content>
</entry>
<entry>
<title>Update from gnulib.</title>
<updated>2003-06-06T19:36:28Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-06-06T19:36:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5dc10e1e85d57b072cea8c8bd0e7d9db208c2538'/>
<id>urn:sha1:5dc10e1e85d57b072cea8c8bd0e7d9db208c2538</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(xreadlink): Add cast to avoid a warning.</title>
<updated>2001-12-09T22:46:53Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2001-12-09T22:46:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=6994cb9650ac42039d859bb0a9f40513eda89e1f'/>
<id>urn:sha1:6994cb9650ac42039d859bb0a9f40513eda89e1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>whoops!  fix comment on first line :-)</title>
<updated>2001-10-21T15:12:39Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2001-10-21T15:12:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=bd0070c191c92e214964b234e330f8ef9f1a2a8d'/>
<id>urn:sha1:bd0070c191c92e214964b234e330f8ef9f1a2a8d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(xreadlink): Omit size_t* arg.  All uses changed.</title>
<updated>2001-09-04T20:20:16Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2001-09-04T20:20:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=beb34bac0ac42c6f47e5be4fe2839e9ec26f3ce2'/>
<id>urn:sha1:beb34bac0ac42c6f47e5be4fe2839e9ec26f3ce2</id>
<content type='text'>
Use ssize_t, not int, to store result of readlink.
Check for ssize_t overflow as well as size_t overflow,
as POSIX says the result of readlink is implementation-defined
when ssize_t overflows.
Remove unnecessary cast to char*.
Use free+malloc instead of realloc, as the storage doesn't need
to be preserved and it's clearer and can be more efficient that way.
(SIZE_MAX, SSIZE_MAX): New macros, if &lt;limits.h&gt; doesn't declare.
</content>
</entry>
<entry>
<title>include errno.h etc, too</title>
<updated>2001-09-03T18:32:05Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2001-09-03T18:32:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f839ec4d47232626ca51c78a14d735ac3f928cf9'/>
<id>urn:sha1:f839ec4d47232626ca51c78a14d735ac3f928cf9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tweak comment</title>
<updated>2001-09-03T18:26:42Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2001-09-03T18:26:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f5d7ab79b878046f4df4c86a89a237c71e990b76'/>
<id>urn:sha1:f5d7ab79b878046f4df4c86a89a237c71e990b76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(xreadlink): Preserve errno around `free' during failure.</title>
<updated>2001-09-03T18:25:58Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2001-09-03T18:25:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c9488ff0e1e7b1ace2121f5a0a01a9ca351b4dcc'/>
<id>urn:sha1:c9488ff0e1e7b1ace2121f5a0a01a9ca351b4dcc</id>
<content type='text'>
</content>
</entry>
</feed>
