Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/gnome
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20398

Modified Files:
        glib2.patch 
Log Message:
More correct patch. Thanks msachs.


Index: glib2.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/gnome/glib2.patch,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- glib2.patch 5 Jun 2005 23:29:59 -0000       1.8
+++ glib2.patch 6 Jun 2005 19:20:02 -0000       1.9
@@ -276,12 +276,23 @@
  
    alive = 2;
 --- glib-2.6.4/tests/array-test.c      2004-12-25 20:04:01.000000000 -0400
-+++ glib-2.6.4-new/tests/array-test.c  2005-06-05 16:27:23.000000000 -0400
-@@ -116,6 +116,7 @@
++++ glib-2.6.4-new/tests/array-test.c  2005-06-06 14:55:18.000000000 -0400
+@@ -116,10 +116,14 @@
  
    for (i = 0; i < 10000; i++)
      {
-+      printf("");
-       g_assert (gbarray->data[4*i] == 'a');
-       g_assert (gbarray->data[4*i+1] == 'b');
-       g_assert (gbarray->data[4*i+2] == 'c');
+-      g_assert (gbarray->data[4*i] == 'a');
+-      g_assert (gbarray->data[4*i+1] == 'b');
+-      g_assert (gbarray->data[4*i+2] == 'c');
+-      g_assert (gbarray->data[4*i+3] == 'd');
++      int idx = 4*i;
++      g_assert (gbarray->data[idx] == 'a');
++      idx++;
++      g_assert (gbarray->data[idx] == 'b');
++      idx++;
++      g_assert (gbarray->data[idx] == 'c');
++      idx++;
++      g_assert (gbarray->data[idx] == 'd');
+     }
+ 
+   g_byte_array_free (gbarray, TRUE);



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to