summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-09-10 12:28:47 +0000
committerBruno Haible <bruno@clisp.org>2001-09-10 12:28:47 +0000
commitc12391812c24c6f1d71043f035847d1fccb6fa1a (patch)
tree4bf50c51806fb0121878437d3162002ac54b7f53 /src
parent4d4d61cbbf61f92a4a5a46e35c929b3e88073df8 (diff)
downloadexternal_gettext-c12391812c24c6f1d71043f035847d1fccb6fa1a.zip
external_gettext-c12391812c24c6f1d71043f035847d1fccb6fa1a.tar.gz
external_gettext-c12391812c24c6f1d71043f035847d1fccb6fa1a.tar.bz2
Call set_program_name instead of assigning program_name.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog11
-rw-r--r--src/msgattrib.c2
-rw-r--r--src/msgcat.c2
-rw-r--r--src/msgconv.c2
-rw-r--r--src/msgen.c2
-rw-r--r--src/msgexec.c2
-rw-r--r--src/msggrep.c2
-rw-r--r--src/msguniq.c2
8 files changed, 18 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9b4f5ac..5c8fc70 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,14 @@
+2001-09-10 Bruno Haible <haible@clisp.cons.org>
+
+ * msgattrib.c (main): Call set_program_name instead of assigning
+ program_name directly.
+ * msgcat.c (main): Likewise.
+ * msgconv.c (main): Likewise.
+ * msgen.c (main): Likewise.
+ * msgexec.c (main): Likewise.
+ * msggrep.c (main): Likewise.
+ * msguniq.c (main): Likewise.
+
2001-09-08 Bruno Haible <haible@clisp.cons.org>
* msgattrib.c: New file.
diff --git a/src/msgattrib.c b/src/msgattrib.c
index da80c23..a56eb31 100644
--- a/src/msgattrib.c
+++ b/src/msgattrib.c
@@ -121,7 +121,7 @@ main (argc, argv)
bool sort_by_filepos = false;
/* Set program name for messages. */
- program_name = argv[0];
+ set_program_name (argv[0]);
error_print_progname = maybe_print_progname;
#ifdef HAVE_SETLOCALE
diff --git a/src/msgcat.c b/src/msgcat.c
index 4c3b39a..7e6f0d3 100644
--- a/src/msgcat.c
+++ b/src/msgcat.c
@@ -97,7 +97,7 @@ main (argc, argv)
bool sort_by_filepos = false;
/* Set program name for messages. */
- program_name = argv[0];
+ set_program_name (argv[0]);
error_print_progname = maybe_print_progname;
#ifdef HAVE_SETLOCALE
diff --git a/src/msgconv.c b/src/msgconv.c
index 81c0a26..8da8685 100644
--- a/src/msgconv.c
+++ b/src/msgconv.c
@@ -89,7 +89,7 @@ main (argc, argv)
bool sort_by_msgid = false;
/* Set program name for messages. */
- program_name = argv[0];
+ set_program_name (argv[0]);
error_print_progname = maybe_print_progname;
#ifdef HAVE_SETLOCALE
diff --git a/src/msgen.c b/src/msgen.c
index b2395f8..e8b7110 100644
--- a/src/msgen.c
+++ b/src/msgen.c
@@ -82,7 +82,7 @@ main (argc, argv)
bool sort_by_msgid = false;
/* Set program name for messages. */
- program_name = argv[0];
+ set_program_name (argv[0]);
error_print_progname = maybe_print_progname;
#ifdef HAVE_SETLOCALE
diff --git a/src/msgexec.c b/src/msgexec.c
index b206da0..b56aaf4 100644
--- a/src/msgexec.c
+++ b/src/msgexec.c
@@ -134,7 +134,7 @@ main (argc, argv)
size_t i;
/* Set program name for messages. */
- program_name = argv[0];
+ set_program_name (argv[0]);
error_print_progname = maybe_print_progname;
#ifdef HAVE_SETLOCALE
diff --git a/src/msggrep.c b/src/msggrep.c
index a06367c..a75b734 100644
--- a/src/msggrep.c
+++ b/src/msggrep.c
@@ -132,7 +132,7 @@ main (argc, argv)
size_t i;
/* Set program name for messages. */
- program_name = argv[0];
+ set_program_name (argv[0]);
error_print_progname = maybe_print_progname;
#ifdef HAVE_SETLOCALE
diff --git a/src/msguniq.c b/src/msguniq.c
index a771a30..c3d8090 100644
--- a/src/msguniq.c
+++ b/src/msguniq.c
@@ -93,7 +93,7 @@ main (argc, argv)
bool sort_by_filepos = false;
/* Set program name for messages. */
- program_name = argv[0];
+ set_program_name (argv[0]);
error_print_progname = maybe_print_progname;
#ifdef HAVE_SETLOCALE