]> git.pld-linux.org Git - packages/aiksaurus.git/blob - format_security.patch
- modernized spec, GPL version
[packages/aiksaurus.git] / format_security.patch
1 --- aiksaurus-1.2.1/base/caiksaurus.cpp.orig    2014-01-06 13:27:56.420352733 +0100
2 +++ aiksaurus-1.2.1/base/caiksaurus.cpp 2014-01-06 13:29:36.108561088 +0100
3 @@ -254,7 +254,7 @@ static void handleArguments(int argc, ch
4          /* see if we got --version. */
5          if ( !strcmp(arg, "--version") || !strcmp(arg, "-v") )
6          {
7 -            printf(version);
8 +            fputs(version, stdout);
9              exit(0);
10          }
11  
12 @@ -262,7 +262,7 @@ static void handleArguments(int argc, ch
13          else if ( !strcmp(arg, "--help") || !strcmp(arg, "-h") )
14          {
15              printf("Usage: %s [word]\n\n", argv[0]);
16 -            printf(help);
17 +            fputs(help, stdout);
18              exit(0);
19          }   
20      }
21 @@ -271,7 +271,7 @@ static void handleArguments(int argc, ch
22      if (argc != 2)
23      {
24          printf("Usage: %s [word]\n", argv[0]);
25 -        printf(help);
26 +        fputs(help, stdout);
27          exit(1);
28      }
29  }
This page took 0.100587 seconds and 3 git commands to generate.