bug-gnulib
[Top][All Lists]
Advanced

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

Re: New module argp-version-etc


From: Eric Blake
Subject: Re: New module argp-version-etc
Date: Thu, 25 Jun 2009 18:12:25 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Sergey Poznyakoff <gray <at> gnu.org.ua> writes:

>      default:
>        /* 10 or more authors.  Use an abbreviation, since the human reader
> @@ -147,12 +158,49 @@ Written by %s, %s, %s,\n%s, %s, %s, %s,\n%s, and %
s.\n"),
>        /* TRANSLATORS: Each %s denotes an author name.
>        You can use line breaks, estimating that each author name occupies
>        ca. 16 screen columns and that a screen line has ca. 80 columns.  */
> -      vfprintf (stream, _("\
> +      fprintf (stream, _("\
>  Written by %s, %s, %s,\n%s, %s, %s, %s,\n%s, %s, and others.\n"),
> -             authors);
> +             authors[0], authors[1], authors[2], authors[3], authors[4],
> +             authors[5], authors[6], authors[7], authors[8], authors[9]);

This introduced a warning:

../../lib/version-etc.c: In function `version_etc_arn':
../../lib/version-etc.c:164: warning: too many arguments for format

The tenth author (authors[9]) does not get printed, so it should not be listed 
here.

-- 
Eric Blake







reply via email to

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