diff options
author | Daniel Llorens <lloda@sarc.name> | 2021-04-08 20:54:42 +0200 |
---|---|---|
committer | Daniel Llorens <lloda@sarc.name> | 2021-04-08 21:00:42 +0200 |
commit | bdb07f8fc7b37ef64498c7b06cd4457faf456189 (patch) | |
tree | 4c98d2d714f2071513897efe01063bebc36e32cb /lib/link.c | |
parent | 88e703084567eb99238a3be6ba4285d87a25eeae (diff) | |
download | guile-wip-gnulib-update.tar.gz |
Update gnulib to a3a946f670718d0dee5a7425ad5ac0a29fb46ea1wip-gnulib-update
This fixes https://lists.gnu.org/archive/html/guile-devel/2021-04/msg00009.html
Diffstat (limited to 'lib/link.c')
-rw-r--r-- | lib/link.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/link.c b/lib/link.c index 6fff67a4f..3ba897a8b 100644 --- a/lib/link.c +++ b/lib/link.c @@ -117,9 +117,7 @@ link (const char *file1, const char *file2) *p = '\0'; if (p != dir && stat (dir, &st) != 0 && errno != EOVERFLOW) { - int saved_errno = errno; free (dir); - errno = saved_errno; return -1; } free (dir); @@ -228,9 +226,7 @@ rpl_link (char const *file1, char const *file2) *p = '\0'; if (stat (dir, &st) != 0 && errno != EOVERFLOW) { - int saved_errno = errno; free (dir); - errno = saved_errno; return -1; } } |