<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/lib/xreadlink.c, branch v4.5.2</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v4.5.2</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v4.5.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2001-12-09T22:46:53Z</updated>
<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>
<entry>
<title>update comment re power of 2</title>
<updated>2001-09-03T18:24:37Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2001-09-03T18:24:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8df5a2474cfbad3c57b5c1ca60ec339f7b7898c4'/>
<id>urn:sha1:8df5a2474cfbad3c57b5c1ca60ec339f7b7898c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>*** empty log message ***</title>
<updated>2001-09-01T09:50:48Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2001-09-01T09:50:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=31555f918ccf427eb98b0d61c3a0f3c5505184b3'/>
<id>urn:sha1:31555f918ccf427eb98b0d61c3a0f3c5505184b3</id>
<content type='text'>
</content>
</entry>
</feed>
