bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gawk 3.1.4 copyright date problem


From: Aharon Robbins
Subject: Re: Gawk 3.1.4 copyright date problem
Date: Wed, 25 Aug 2004 14:33:28 +0300

Paul,

Thanks for the patch.  I noticed this goof after the tarball was
already frozen.  I added a note to my private checklist to make
sure that I fix this every time I do a release.

Thanks also for the info about the Coding Standards.  I may
make that change --- I haven't decided yet.

Thanks,

Arnold

> To: address@hidden
> Subject: Gawk 3.1.4 copyright date problem
> From: Paul Eggert <address@hidden>
> Date: Tue, 24 Aug 2004 10:38:34 -0700
>
> The behavior I see is this:
>
>   $ gawk --version | sed 2q
>   GNU Awk 3.1.4
>   Copyright (C) 1989, 1991-2003 Free Software Foundation.
>
> The date should be "2004".  While we're on the subject, the GNU coding
> standards say that in --version output the "copyright notice only
> needs to mention the most recent year in which changes were
> made---there's no need to list the years for previous versions'
> changes."
>
> Here's a patch.
>
> 2004-08-24  Paul Eggert  <address@hidden>
>
>       * main.c (copyleft): Output only the most recent copyright year,
>       as per the GNU coding standards.  Update year to 2004.
>
> diff -pru gawk-3.1.4/main.c gawk-3.1.4-copyright/main.c
> --- gawk-3.1.4/main.c 2004-07-28 06:42:19 -0700
> +++ gawk-3.1.4-copyright/main.c       2004-08-24 10:35:52 -0700
> @@ -682,7 +682,7 @@ static void
>  copyleft()
>  {
>       static const char blurb_part1[] =
> -       N_("Copyright (C) 1989, 1991-%d Free Software Foundation.\n\
> +       N_("Copyright (C) %d Free Software Foundation.\n\
>  \n\
>  This program is free software; you can redistribute it and/or modify\n\
>  it under the terms of the GNU General Public License as published by\n\
> @@ -701,7 +701,7 @@ along with this program; if not, write t
>  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, 
> USA.\n");
>   
>       /* multiple blurbs are needed for some brain dead compilers. */
> -     printf(_(blurb_part1), 2003);   /* Last update year */
> +     printf(_(blurb_part1), 2004);   /* Last update year */
>       fputs(_(blurb_part2), stdout);
>       fputs(_(blurb_part3), stdout);
>       fflush(stdout);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]