]> git.pld-linux.org Git - packages/wxWidgets.git/commitdiff
- more workarounds
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 30 Sep 2012 08:01:57 +0000 (10:01 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 30 Sep 2012 08:01:57 +0000 (10:01 +0200)
wxWidgets-format.patch

index c4319fe7ee30084b1ff3441d3674de07dc3f8d17..09e94b27a61c7a0ebdd15cefa3d2c025ce5f1613 100644 (file)
      }
  
      return exitcode;
+--- wxWidgets-2.8.12/src/unix/snglinst.cpp.orig        2011-03-22 13:01:28.000000000 +0100
++++ wxWidgets-2.8.12/src/unix/snglinst.cpp     2012-09-30 10:01:41.101684296 +0200
+@@ -267,7 +267,7 @@
+         // another process managed to open and lock the file and terminate
+         // (erasing it) before we got here, but this should happen so
+         // rarely in practice that we don't care
+-        wxLogError(_("Failed to access lock file."));
++        wxLogError("%s", _("Failed to access lock file."));
+         return false;
+     }
+@@ -276,7 +276,7 @@
+     ssize_t count = file.Read(buf, WXSIZEOF(buf));
+     if ( count == wxInvalidOffset )
+     {
+-        wxLogError(_("Failed to read PID from lock file."));
++        wxLogError("%s", _("Failed to read PID from lock file."));
+     }
+     else
+     {
This page took 0.123275 seconds and 4 git commands to generate.