X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Ftar.c;h=2e5331c87da1f128592a3a5996b6601cda2e56ab;hb=8267e6ed02aea41ef334fcff84722fa0eacc0ecf;hp=69ec97cf6cce192c861489de2c2e25e70c4e084c;hpb=17afd0438f6d86686e9bc6df80e538b3201b889e;p=chaz%2Ftar diff --git a/src/tar.c b/src/tar.c index 69ec97c..2e5331c 100644 --- a/src/tar.c +++ b/src/tar.c @@ -1,7 +1,7 @@ /* A tar (tape archiver) program. - Copyright 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001 Free - Software Foundation, Inc. + Copyright (C) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001 + Free Software Foundation, Inc. Written by John Gilmore, starting 1985-08-25. @@ -36,6 +36,7 @@ #define GLOBAL #include "common.h" +#include #include #include #include @@ -1122,13 +1123,17 @@ decode_options (int argc, char **argv) if (show_version) { - printf ("tar (GNU %s) %s\n%s\n%s\n%s\n", PACKAGE, VERSION, - "Copyright 2001 Free Software Foundation, Inc.", - _("\ + char buf[MB_LEN_MAX + 1]; + printf ("tar (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."), - _("Written by John Gilmore and Jay Fenlason.")); +see the file named COPYING for details.")); + + puts (_("Written by John Gilmore and Jay Fenlason.")); + exit (TAREXIT_SUCCESS); }