From 30b6215942ffadd705f7641c0725e425057b73a5 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 6 Jun 2019 15:45:14 -0700 Subject: [PATCH 2/2] copy-file: fix typo * lib/copy-file.c (qcopy_file_preserving): Remove unused label. --- ChangeLog | 3 +++ lib/copy-file.c | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5e51f2dbd..cbb95d2f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2019-06-06 Paul Eggert + copy-file: fix typo + * lib/copy-file.c (qcopy_file_preserving): Remove unused label. + copy-file-range: simplify into a stub Based on a comment by Florian Weimer in: https://lists.gnu.org/r/bug-gnulib/2019-06/msg00007.html diff --git a/lib/copy-file.c b/lib/copy-file.c index 092a040d7..91c920c33 100644 --- a/lib/copy-file.c +++ b/lib/copy-file.c @@ -175,7 +175,6 @@ qcopy_file_preserving (const char *src_filename, const char *dest_filename) close (dest_fd); error_src: close (src_fd); - error: return err; } -- 2.17.1