]>
Commit | Line | Data |
---|---|---|
7fa0d7cf JB |
1 | --- apt-0.5.15lorg3.94a/methods/gpg.cc.orig 2008-01-12 10:45:07.000000000 +0100 |
2 | +++ apt-0.5.15lorg3.94a/methods/gpg.cc 2015-02-08 16:39:02.051118648 +0100 | |
3 | @@ -369,7 +369,7 @@ | |
4 | if (msg != NULL) | |
5 | { | |
6 | removeTmpDir(TempDir, SigCount); | |
7 | - return _error->Error(msg); | |
8 | + return _error->Error("%s", msg); | |
9 | } | |
10 | } | |
11 | else | |
12 | @@ -393,7 +393,7 @@ | |
13 | if (msg != NULL) | |
14 | { | |
15 | removeTmpDir(TempDir, SigCount); | |
16 | - return _error->Error(msg); | |
17 | + return _error->Error("%s", msg); | |
18 | } | |
19 | if (KeyList.empty()) | |
20 | KeyList = KeyID; | |
b4f50c19 JB |
21 | --- apt-0.5.15lorg3.94a/python/apt_wrap.cxx.orig 2008-01-12 10:45:07.000000000 +0100 |
22 | +++ apt-0.5.15lorg3.94a/python/apt_wrap.cxx 2015-02-08 21:21:33.543740596 +0100 | |
23 | @@ -17503,7 +17503,7 @@ | |
24 | ||
25 | if(!PyArg_ParseTuple(args,(char *)"Oss:GlobalError_Errno",&obj0,&arg2,&arg3)) goto fail; | |
26 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_GlobalError,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
27 | - result = (bool)(arg1)->Errno((char const *)arg2,(char const *)arg3); | |
28 | + result = (bool)(arg1)->Errno((char const *)arg2,"%s",(char const *)arg3); | |
29 | ||
30 | resultobj = PyInt_FromLong((long)result); | |
31 | return resultobj; | |
32 | @@ -17522,7 +17522,7 @@ | |
33 | ||
34 | if(!PyArg_ParseTuple(args,(char *)"Oss:GlobalError_WarningE",&obj0,&arg2,&arg3)) goto fail; | |
35 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_GlobalError,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
36 | - result = (bool)(arg1)->WarningE((char const *)arg2,(char const *)arg3); | |
37 | + result = (bool)(arg1)->WarningE((char const *)arg2,"%s",(char const *)arg3); | |
38 | ||
39 | resultobj = PyInt_FromLong((long)result); | |
40 | return resultobj; | |
41 | @@ -17540,7 +17540,7 @@ | |
42 | ||
43 | if(!PyArg_ParseTuple(args,(char *)"Os:GlobalError_Error",&obj0,&arg2)) goto fail; | |
44 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_GlobalError,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
45 | - result = (bool)(arg1)->Error((char const *)arg2); | |
46 | + result = (bool)(arg1)->Error("%s",(char const *)arg2); | |
47 | ||
48 | resultobj = PyInt_FromLong((long)result); | |
49 | return resultobj; | |
50 | @@ -17558,7 +17558,7 @@ | |
51 | ||
52 | if(!PyArg_ParseTuple(args,(char *)"Os:GlobalError_Warning",&obj0,&arg2)) goto fail; | |
53 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_GlobalError,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
54 | - result = (bool)(arg1)->Warning((char const *)arg2); | |
55 | + result = (bool)(arg1)->Warning("%s",(char const *)arg2); | |
56 | ||
57 | resultobj = PyInt_FromLong((long)result); | |
58 | return resultobj; |