]> Dogcows Code - chaz/tar/commitdiff
Include copysym.h.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 14 Sep 2001 00:27:39 +0000 (00:27 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 14 Sep 2001 00:27:39 +0000 (00:27 +0000)
(main): Use copyright_symbol to translate copyright notice,
instead of gettext.

src/rmt.c

index 74f6e3555ca2ac11d82db769926b99e4b52c631b..81add7940a93c1ff5869640e10210e1c30c74616 100644 (file)
--- a/src/rmt.c
+++ b/src/rmt.c
@@ -1,6 +1,6 @@
 /* Remote connection server.
 
-   Copyright 1994, 1995, 1996, 1997, 1999, 2000, 2001 Free Software
+   Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001 Free Software
    Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify it
@@ -32,6 +32,7 @@
    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  */
 
 #include "system.h"
+#include <copysym.h>
 #include <localedir.h>
 #include <safe-read.h>
 #include <full-write.h>
@@ -292,19 +293,16 @@ main (int argc, char *const *argv)
       usage (EXIT_SUCCESS);
       
     case 'v':
-      printf ("rmt (GNU %s) %s\n", PACKAGE, VERSION);
-
-      /* Note to translator: Please translate "Copyright " to "©"
-        (C-in-a-circle) if available in the translation's character
-        set and encoding.  */
-      printf (_("Copyright %d Free Software Foundation, Inc."), 2001);
-      printf ("\n");
-
-      puts (_("\
+      {
+       char buf[MB_LEN_MAX + 1];
+       printf ("rmt (GNU %s) %s\n", PACKAGE, VERSION);
+       printf ("Copyright %s 2001 Free Software Foundation, Inc.\n",
+               copyright_symbol (buf, sizeof buf));
+       puts (_("\
 This program comes with NO WARRANTY, to the extent permitted by law.\n\
 You may redistribute it under the terms of the GNU General Public License;\n\
 see the file named COPYING for details."));
-
+      }
       return EXIT_SUCCESS;
 
     case -1:
@@ -578,9 +576,3 @@ ioerror:
   report_numbered_error (errno);
   goto top;
 }
-\f
-/*
-  Local Variables:
-  coding: iso-latin-1
-  End:
-*/
This page took 0.028259 seconds and 4 git commands to generate.