/[packages]/cauldron/zip/current/SOURCES/zip-3.0-format_not_a_string_literal_and_no_format_arguments.diff
ViewVC logotype

Contents of /cauldron/zip/current/SOURCES/zip-3.0-format_not_a_string_literal_and_no_format_arguments.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2230 - (show annotations) (download)
Sun Jan 9 11:38:37 2011 UTC (10 years, 8 months ago) by blino
File size: 635 byte(s)
imported package zip
1 --- zip.c 2008-07-05 12:34:06.000000000 +0200
2 +++ zip.c.oden 2008-12-23 16:52:31.000000000 +0100
3 @@ -1028,7 +1028,7 @@ local void help_extended()
4
5 for (i = 0; i < sizeof(text)/sizeof(char *); i++)
6 {
7 - printf(text[i]);
8 + printf("%s", text[i]);
9 putchar('\n');
10 }
11 #ifdef DOS
12 @@ -1225,7 +1225,7 @@ local void version_info()
13 CR_MAJORVER, CR_MINORVER, CR_BETA_VER, CR_VERSION_DATE);
14 for (i = 0; i < sizeof(cryptnote)/sizeof(char *); i++)
15 {
16 - printf(cryptnote[i]);
17 + printf("%s", cryptnote[i]);
18 putchar('\n');
19 }
20 ++i; /* crypt support means there IS at least one compilation option */

  ViewVC Help
Powered by ViewVC 1.1.28