<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/ln.c, branch v9.0</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v9.0</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v9.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2021-05-08T13:57:33Z</updated>
<entry>
<title>maint: consistently free hash structures in dev mode</title>
<updated>2021-05-08T13:57:33Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-05-03T17:11:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=09bbb2b703d78e2d577cba57b8bb3ad339303835'/>
<id>urn:sha1:09bbb2b703d78e2d577cba57b8bb3ad339303835</id>
<content type='text'>
Ensure we call hash_free() to avoid valgrind and leak_sanitizer
"definitely lost" warnings.  These were not real leaks as
we terminate immediately after, but we should avoid these
"definitely lost" warnings where possible.

* src/copy.c: Add dest_info_free() and src_info_free().
* src/copy.h: Declare the above.
* src/cp-hash.c: Don't define unless "lint" is defined.
* src/install.c: Call dest_info_free() in dev mode.
* src/mv.c: Likewise.
* src/cp.c: Likewise. Also call src_info_free().
* src/ln.c: Call hash_free() in dev mode.
* src/tail.c: Call hash_free() even if about to exit, in dev mode.

Fixes https://bugs.gnu.org/48189
</content>
</entry>
<entry>
<title>doc: clarify that ln --relative requires --symbolic to be specified</title>
<updated>2021-04-11T18:23:37Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-04-11T14:17:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=34a48bf0f0552aaed21a7dba4a5488946a978317'/>
<id>urn:sha1:34a48bf0f0552aaed21a7dba4a5488946a978317</id>
<content type='text'>
* doc/coreutils.texi (ln invocation): State --symbolic is required.
* src/ln.c (usage): Explicitly state -s is not implied.
Fixes https://bugs.gnu.org/47703
</content>
</entry>
<entry>
<title>maint: use "char const *" rather than "const char *"</title>
<updated>2021-04-11T17:33:45Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-04-11T17:23:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ef772bf97f7ec577754cbb5b278504d83cf41a43'/>
<id>urn:sha1:ef772bf97f7ec577754cbb5b278504d83cf41a43</id>
<content type='text'>
* cfg.mk (sc_prohibit-const-char): Add a new syntax-check to
enforce this style.
* *.[ch]: sed -i 's/const char \*/char const */g'
</content>
</entry>
<entry>
<title>maint: indenting</title>
<updated>2021-03-25T16:19:02Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2021-03-25T16:15:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8980b7c898046d899646da01c296fd15f0cced21'/>
<id>urn:sha1:8980b7c898046d899646da01c296fd15f0cced21</id>
<content type='text'>
* src/ln.c: Fix indenting.
</content>
</entry>
<entry>
<title>ln: fix memory leaks in do_link</title>
<updated>2021-03-25T16:19:02Z</updated>
<author>
<name>Kamil Dudka</name>
<email>kdudka@redhat.com</email>
</author>
<published>2021-03-25T10:57:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=6e98f67758260579d7d44ea5f2df4c82d28c9f58'/>
<id>urn:sha1:6e98f67758260579d7d44ea5f2df4c82d28c9f58</id>
<content type='text'>
* src/ln.c (do_link): Free memory allocated by convert_abs_rel
on all code paths (Bug#47373).
</content>
</entry>
<entry>
<title>maint: update all copyright year number ranges</title>
<updated>2021-01-01T16:36:09Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-01-01T16:36:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=32ff1d1313ff566685b9092ac929251a4c22e7c4'/>
<id>urn:sha1:32ff1d1313ff566685b9092ac929251a4c22e7c4</id>
<content type='text'>
Run "make update-copyright" and then...

* gnulib: Update to latest with copyright year adjusted.
* tests/init.sh: Sync with gnulib to pick up copyright year.
* bootstrap: Likewise.
* tests/sample-test: Adjust to use the single most recent year.
</content>
</entry>
<entry>
<title>maint: update all copyright year number ranges</title>
<updated>2020-01-01T14:16:56Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2020-01-01T14:16:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=aaba82431ceca97441d56152d8c7ec2d84fa1d12'/>
<id>urn:sha1:aaba82431ceca97441d56152d8c7ec2d84fa1d12</id>
<content type='text'>
Run "make update-copyright" and then...

* gnulib: Update to latest with copyright year adjusted.
* tests/init.sh: Sync with gnulib to pick up copyright year.
* bootstrap: Likewise.
* tests/sample-test: Adjust to use the single most recent year.
</content>
</entry>
<entry>
<title>maint: fix syntax check failure</title>
<updated>2019-03-30T22:07:14Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2019-03-30T22:07:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ebf70f297cae5de0a70408cfc98377d9f801478a'/>
<id>urn:sha1:ebf70f297cae5de0a70408cfc98377d9f801478a</id>
<content type='text'>
* src/ln.c: Remove leading TAB.
</content>
</entry>
<entry>
<title>ln: port to symlink ("x", ".") failing with EINVAL</title>
<updated>2019-03-17T20:22:32Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2019-03-17T20:20:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=3e0dff3925b5e521cae468087950e85b60002d1c'/>
<id>urn:sha1:3e0dff3925b5e521cae468087950e85b60002d1c</id>
<content type='text'>
Problem reported by John Marino (Bug#34894).
* src/ln.c (main): Port ln -s to Solaris symlink function,
where symlink ("x", ".") fails with errno == EINVAL.
</content>
</entry>
<entry>
<title>ln: port to platforms lacking O_DIRECTORY</title>
<updated>2019-03-16T18:24:58Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2019-03-16T18:24:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=6a707feee86ffd8eee1f8f1e7a701693d0489ffb'/>
<id>urn:sha1:6a707feee86ffd8eee1f8f1e7a701693d0489ffb</id>
<content type='text'>
* src/ln.c (main): Port to older platforms lacking
support for POSIX.1-2008’s O_DIRECTORY flag (Bug#34876).
</content>
</entry>
</feed>
