/[packages]/cauldron/pcre/current/SOURCES/pcre-7.8-format_not_a_string_literal_and_no_format_arguments.diff
ViewVC logotype

Contents of /cauldron/pcre/current/SOURCES/pcre-7.8-format_not_a_string_literal_and_no_format_arguments.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 581 - (show annotations) (download)
Sat Jan 8 13:42:40 2011 UTC (13 years, 2 months ago) by blino
File size: 416 byte(s)
imported package pcre
1 --- pcretest.c 2009-04-11 16:31:56.000000000 +0200
2 +++ pcretest.c.oden 2009-06-10 16:31:12.000000000 +0200
3 @@ -250,7 +250,7 @@ for (;;)
4 /* Read the next line by normal means, prompting if the file is stdin. */
5
6 {
7 - if (f == stdin) printf(prompt);
8 + if (f == stdin) printf("%s", prompt);
9 if (fgets((char *)here, rlen, f) == NULL)
10 return (here == start)? NULL : start;
11 }

  ViewVC Help
Powered by ViewVC 1.1.30