summaryrefslogtreecommitdiff
path: root/gettext-tools/src
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-07-05 22:09:08 +0200
committerBruno Haible <bruno@clisp.org>2020-07-05 22:15:44 +0200
commit02fee0e3f60724674c1128f7e0626181fc808f31 (patch)
tree8140343a29680754509b73d9c32c60e873de5730 /gettext-tools/src
parent9fc84d8d4d0dce02cf513f9ae8b23239b237d706 (diff)
downloadgettext-02fee0e3f60724674c1128f7e0626181fc808f31.tar.gz
Update after gnulib changed.
* gnulib-local/lib/clean-temp.c.diff: Remove file. * gnulib-local/Makefile.am (EXTRA_DIST): Remove it. * gettext-tools/src/write-csharp.c (msgdomain_write_csharp): Update fopen_temp invocation. * gettext-tools/src/write-java.c (msgdomain_write_java): Likewise.
Diffstat (limited to 'gettext-tools/src')
-rw-r--r--gettext-tools/src/write-csharp.c4
-rw-r--r--gettext-tools/src/write-java.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/gettext-tools/src/write-csharp.c b/gettext-tools/src/write-csharp.c
index 52e32d8e2..1a238da79 100644
--- a/gettext-tools/src/write-csharp.c
+++ b/gettext-tools/src/write-csharp.c
@@ -1,5 +1,5 @@
/* Writing C# satellite assemblies.
- Copyright (C) 2003-2010, 2016, 2018-2019 Free Software Foundation, Inc.
+ Copyright (C) 2003-2010, 2016, 2018-2020 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software: you can redistribute it and/or modify
@@ -738,7 +738,7 @@ msgdomain_write_csharp (message_list_ty *mlp, const char *canon_encoding,
/* Create the C# file. */
register_temp_file (tmpdir, csharp_file_name);
- csharp_file = fopen_temp (csharp_file_name, "w");
+ csharp_file = fopen_temp (csharp_file_name, "w", false);
if (csharp_file == NULL)
{
error (0, errno, _("failed to create \"%s\""), csharp_file_name);
diff --git a/gettext-tools/src/write-java.c b/gettext-tools/src/write-java.c
index 68e0e3a73..0b0b13216 100644
--- a/gettext-tools/src/write-java.c
+++ b/gettext-tools/src/write-java.c
@@ -1,5 +1,5 @@
/* Writing Java ResourceBundles.
- Copyright (C) 2001-2003, 2005-2010, 2014, 2016, 2018-2019 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003, 2005-2010, 2014, 2016, 2018-2020 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software: you can redistribute it and/or modify
@@ -1187,7 +1187,7 @@ msgdomain_write_java (message_list_ty *mlp, const char *canon_encoding,
/* Create the Java file. */
register_temp_file (tmpdir, java_file_name);
- java_file = fopen_temp (java_file_name, "w");
+ java_file = fopen_temp (java_file_name, "w", false);
if (java_file == NULL)
{
error (0, errno, _("failed to create \"%s\""), java_file_name);