New patches from Fedora.
[fedora-mingw.git] / poco / poco-sprintf.patch
1 --- poco-1.3.3p1/Foundation/src/Environment.cpp 2008-10-09 17:11:22.000000000 +0100
2 +++ poco-1.3.3p1.mingw/Foundation/src/Environment.cpp   2009-02-21 10:28:33.000000000 +0000
3 @@ -35,6 +35,7 @@
4  
5  
6  #include "Poco/Environment.h"
7 +#include <cstdio>
8  #include <cstdlib>
9  
10  
11 @@ -108,7 +109,7 @@
12         NodeId id;
13         nodeId(id);
14         char result[18];
15 -       std::sprintf(result, "%02x:%02x:%02x:%02x:%02x:%02x",
16 +       sprintf(result, "%02x:%02x:%02x:%02x:%02x:%02x",
17                 id[0],
18                 id[1],
19                 id[2],