summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwl <wl>2006-01-21 12:27:44 +0000
committerwl <wl>2006-01-21 12:27:44 +0000
commitf00c629937d0b73c8b6ed97e85dd43345cc3b42a (patch)
tree6db1b6d825bed20b3247ba8b432629e6fa23467a
parent9557003d564892c7a12b4ede8b452636569c0dbb (diff)
downloadgroff-f00c629937d0b73c8b6ed97e85dd43345cc3b42a.tar.gz
* src/preproc/preconv/preconv.cpp (main): Set program_name. Bug
reported by Alexander E. Patrakov <patrakov@ums.usu.ru>.
-rw-r--r--ChangeLog5
-rw-r--r--src/preproc/preconv/preconv.cpp1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c43afb57..78c59c61 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-21 Werner LEMBERG <wl@gnu.org>
+
+ * src/preproc/preconv/preconv.cpp (main): Set program_name. Bug
+ reported by Alexander E. Patrakov <patrakov@ums.usu.ru>.
+
2006-01-19 Bruno Haible <bruno@clisp.org>
Let `make -k install' install more files.
diff --git a/src/preproc/preconv/preconv.cpp b/src/preproc/preconv/preconv.cpp
index 190e6e91..25de2233 100644
--- a/src/preproc/preconv/preconv.cpp
+++ b/src/preproc/preconv/preconv.cpp
@@ -1097,6 +1097,7 @@ usage(FILE *stream)
int
main(int argc, char **argv)
{
+ program_name = argv[0];
// Determine the default encoding. This must be done before
// getopt() is called since the usage message shows the default
// encoding.