]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Update after gnulib changed: Fix deprecation warning.
authorBruno Haible <bruno@clisp.org>
Thu, 26 Sep 2024 02:31:58 +0000 (04:31 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 26 Sep 2024 11:12:13 +0000 (13:12 +0200)
* gettext-tools/src/msgmerge.c (main): Call xcopy_file_preserving instead of
copy_file_preserving.

gettext-tools/src/msgmerge.c

index 3bc330aa4a9dfb09f3cb29bc8bbe16f7cd2c4811..0e6d008cd50a135e1f945d4142efe139c328d3c9 100644 (file)
@@ -513,7 +513,7 @@ There is NO WARRANTY, to the extent permitted by law.\n\
           if (backup_type != none)
             {
               backup_file = find_backup_file_name (output_file, backup_type);
-              copy_file_preserving (output_file, backup_file);
+              xcopy_file_preserving (output_file, backup_file);
             }
 
           /* Write the merged message list out.  */