/[packages]/cauldron/aiksaurus/current/SOURCES/aiksaurus-1.2.1-fix-str-fmt.patch
ViewVC logotype

Contents of /cauldron/aiksaurus/current/SOURCES/aiksaurus-1.2.1-fix-str-fmt.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 59300 - (show annotations) (download)
Fri Feb 25 07:52:50 2011 UTC (13 years, 7 months ago) by ennael
File size: 1038 byte(s)
imported package aiksaurus
1 diff -p -up aiksaurus-1.2.1/base/caiksaurus.cpp.strfmt aiksaurus-1.2.1/base/caiksaurus.cpp
2 --- aiksaurus-1.2.1/base/caiksaurus.cpp.strfmt 2009-06-12 23:43:34.000000000 +0200
3 +++ aiksaurus-1.2.1/base/caiksaurus.cpp 2009-06-12 23:44:46.000000000 +0200
4 @@ -254,7 +254,7 @@ static void handleArguments(int argc, ch
5 /* see if we got --version. */
6 if ( !strcmp(arg, "--version") || !strcmp(arg, "-v") )
7 {
8 - printf(version);
9 + printf("%s", version);
10 exit(0);
11 }
12
13 @@ -262,7 +262,7 @@ static void handleArguments(int argc, ch
14 else if ( !strcmp(arg, "--help") || !strcmp(arg, "-h") )
15 {
16 printf("Usage: %s [word]\n\n", argv[0]);
17 - printf(help);
18 + printf("%s", help);
19 exit(0);
20 }
21 }
22 @@ -271,7 +271,7 @@ static void handleArguments(int argc, ch
23 if (argc != 2)
24 {
25 printf("Usage: %s [word]\n", argv[0]);
26 - printf(help);
27 + printf("%s", help);
28 exit(1);
29 }
30 }

  ViewVC Help
Powered by ViewVC 1.1.30