nixpkgs/pkgs/development/tools/ocaml/omake/omake-lm_printf-gcc44.diff
David Guibert b0859969a5 omake: version 0.9.8.5
svn path=/nixpkgs/trunk/; revision=22019
2010-05-27 19:44:03 +00:00

23 lines
664 B
Diff

--- src/libmojave-external/cutil/lm_printf.c.orig 2007-07-15 19:55:23.000000000 +0200
+++ src/libmojave-external/cutil/lm_printf.c 2009-06-21 19:20:40.000000000 +0200
@@ -144,3 +144,3 @@
if(bufp != buffer)
- free(buffer);
+ free(bufp);
failwith("ml_print_string");
@@ -149,3 +149,3 @@
if(bufp != buffer)
- free(buffer);
+ free(bufp);
return v_result;
@@ -192,3 +192,3 @@
if(bufp != buffer)
- free(buffer);
+ free(bufp);
failwith("ml_print_string");
@@ -197,3 +197,3 @@
if(bufp != buffer)
- free(buffer);
+ free(bufp);
return v_result;