diff options
author | wl <wl> | 2006-01-21 12:27:44 +0000 |
---|---|---|
committer | wl <wl> | 2006-01-21 12:27:44 +0000 |
commit | f00c629937d0b73c8b6ed97e85dd43345cc3b42a (patch) | |
tree | 6db1b6d825bed20b3247ba8b432629e6fa23467a | |
parent | 9557003d564892c7a12b4ede8b452636569c0dbb (diff) | |
download | groff-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-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/preproc/preconv/preconv.cpp | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -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. |