Debian Codegraph @

debian/patches/33_format-security.patch

raw symbols SCIP
1 From: Ilya Barygin <[email protected]>
2 Subject: Fix warnings produced by -Werror=format-security
3
4 --- a/src/pngSave.cpp
5 +++ b/src/pngSave.cpp
6 @@ -55,8 +55,8 @@
7 void trace(const char *st, const char *st2=NULL){
8 static FILE *f=NULL;
9 if (!f) f=fopen("trace.txt","wt");
10 - fprintf(f,st);
11 - if (st2) fprintf(f,st2);
12 + fprintf(f,"%s",st);
13 + if (st2) fprintf(f,"%s",st2);
14 fflush(f);
15 }
16