Hi,

Well, today i've spent probably 3 hours gdb'ing OpenOCD just to find
out i'm hitting a mingw bug that is >2 years old.

I do not understand Debian policies deep enough to judge about it but
i find the result a rather sad - i'd prefer to spend that time
sleeping or probably debugging something more cool and useful.

Attached is the patch i used to recompile mingw-runtime on Debian
testing.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com
diff -ur mingw-runtime-3.13-20070825-1.old/mingwex/gdtoa/mingw_snprintf.c 
mingw-runtime-3.13-20070825-1/mingwex/gdtoa/mingw_snprintf.c
--- mingw-runtime-3.13-20070825-1.old/mingwex/gdtoa/mingw_snprintf.c    
2010-01-14 16:14:08.000000000 +0300
+++ mingw-runtime-3.13-20070825-1/mingwex/gdtoa/mingw_snprintf.c        
2010-01-14 16:14:34.000000000 +0300
@@ -465,7 +465,7 @@
                                    len = LEN_LL;
                                  }
                                else
-                                 len = LEN_LL;
+                                 len = LEN_L;
                                goto fmtloop;
                        case 'L':
                                flag_ld++;
@@ -617,6 +617,7 @@
                                        break;
                                  case LEN_S:
                                        *(short*)ip = c;
+                                       break;
                                  case LEN_LL:
                                        *(long long*) ip = c;
                                        break;

Reply via email to