]> git.pld-linux.org Git - packages/Canna.git/blob - Canna-format.patch
- added format patch (for -Werror=format-security errors)
[packages/Canna.git] / Canna-format.patch
1 --- Canna37p3/cmd/catdic/can.c.orig     2003-02-01 20:34:20.000000000 +0100
2 +++ Canna37p3/cmd/catdic/can.c  2012-11-13 19:44:35.098812750 +0100
3 @@ -1236,7 +1236,7 @@
4         break;
5        default:
6         if (init[0] == '/') {
7 -           (void)fprintf(stderr,msg_abnl);
8 +           (void)fputs(msg_abnl,stderr);
9         } else {
10             (void)fprintf(stderr,msg_abnls,init);
11         }
12 @@ -1297,11 +1297,11 @@
13  
14      if ( opt_fq ) {
15        if ( opt_s ) {
16 -        (void) fprintf(stderr,msg_sfq);
17 +        (void) fputs(msg_sfq,stderr);
18          exit(ERR_VALUE) ;
19        }  
20        if ( opt_l || opt_std ) {
21 -        (void) fprintf(stderr,msg_l);
22 +        (void) fputs(msg_l,stderr);
23          exit(ERR_VALUE) ;
24        }
25        mode = mode | PL_DIC ;
26 @@ -1491,7 +1491,7 @@
27      break;
28    default:
29      if(init[0] == '/') {
30 -      fprintf(stderr,msg_abnl );
31 +      fputs(msg_abnl,stderr);
32      }
33      else {
34        fprintf(stderr,msg_abnls,init);
This page took 0.06686 seconds and 3 git commands to generate.