]> sjero.net Git - wget/commitdiff
wget: move --version copyright year out of the localized string
authorGiuseppe Scrivano <gscrivan@redhat.com>
Thu, 6 Feb 2014 17:35:05 +0000 (18:35 +0100)
committerGiuseppe Scrivano <gscrivan@redhat.com>
Thu, 6 Feb 2014 17:35:05 +0000 (18:35 +0100)
src/ChangeLog
src/main.c

index 33eb5ed6a4ad6e6198e3cdccb1227136512d0e7a..b7b67533df443bc38f3dd8cd73773ee8c8c97cde 100644 (file)
@@ -1,3 +1,8 @@
+2014-02-06  Giuseppe Scrivano  <gscrivan@redhat.com>
+
+       * main.c (print_version): Move copyright year out of the localized
+       string and update it.
+
 2014-01-29  Darshit Shah  <darnir@gmail.com>
 
        * main.c: Remove pre-processor variable WHEN_DEBUG
index 6b6f72f3d958482053cc525bf12618acb3fdcd74..3ce7583f268b1347ead5208a4817b095ffc76ffe 100644 (file)
@@ -952,8 +952,8 @@ print_version (void)
 
   /* TRANSLATORS: When available, an actual copyright character
      (circle-c) should be used in preference to "(C)". */
-  if (fputs (_("\
-Copyright (C) 2011 Free Software Foundation, Inc.\n"), stdout) < 0)
+  if (printf (_("\
+Copyright (C) %s Free Software Foundation, Inc.\n"), "2014") < 0)
     exit (3);
   if (fputs (_("\
 License GPLv3+: GNU GPL version 3 or later\n\