From: Paul Eggert Date: Fri, 14 Sep 2001 00:27:39 +0000 (+0000) Subject: Include copysym.h. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=135a24714fce5dcb5ae85b23192e5fc683412cb1;p=chaz%2Ftar Include copysym.h. (main): Use copyright_symbol to translate copyright notice, instead of gettext. --- diff --git a/src/rmt.c b/src/rmt.c index 74f6e35..81add79 100644 --- 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 #include #include #include @@ -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; } - -/* - Local Variables: - coding: iso-latin-1 - End: -*/