aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-03-28 21:00:28 +0000
committerRoland McGrath <roland@gnu.org>1996-03-28 21:00:28 +0000
commitc475b8f5942e932781155173e77287d12714e294 (patch)
tree38e25b3dfcd9e09a400c67f8319e704ed4442a70
parent7a1c652d5836158b067953d3cc737ab7194c21b7 (diff)
downloadglibc-c475b8f5942e932781155173e77287d12714e294.zip
glibc-c475b8f5942e932781155173e77287d12714e294.tar.gz
glibc-c475b8f5942e932781155173e77287d12714e294.tar.bz2
* sunrpc/rpc_main.c (main): Call textdomain.
-rw-r--r--ChangeLog2
-rw-r--r--sunrpc/rpc_main.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 63ee3f6..df700b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
Thu Mar 28 14:22:51 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
+ * sunrpc/rpc_main.c (main): Call textdomain.
+
* MakeTAGS (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): Add
--no-location.
(all-pot): Replace $(subdirs) files with $P/subdirs.pot.
diff --git a/sunrpc/rpc_main.c b/sunrpc/rpc_main.c
index 7313e6e..053b301 100644
--- a/sunrpc/rpc_main.c
+++ b/sunrpc/rpc_main.c
@@ -70,6 +70,9 @@ main(argc, argv)
{
struct commandline cmd;
+ /* Use the libc message catalog for translations. */
+ textdomain (_libc_intl_domainname);
+
if (!parseargs(argc, argv, &cmd)) {
f_print(stderr,
_("usage: %s infile\n"), cmdname);