rpms/gdb/devel gdb-6.8-watchpoint-cond-test.patch,1.1,1.2

Jan Kratochvil jkratoch at fedoraproject.org
Wed Nov 5 08:27:53 UTC 2008


Author: jkratoch

Update of /cvs/pkgs/rpms/gdb/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30511

Modified Files:
	gdb-6.8-watchpoint-cond-test.patch 
Log Message:
Fix false FAIL due to uninitialized `i'.


gdb-6.8-watchpoint-cond-test.patch:

Index: gdb-6.8-watchpoint-cond-test.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb-6.8-watchpoint-cond-test.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gdb-6.8-watchpoint-cond-test.patch	4 Nov 2008 05:51:22 -0000	1.1
+++ gdb-6.8-watchpoint-cond-test.patch	5 Nov 2008 08:27:22 -0000	1.2
@@ -68,7 +68,7 @@
 +int
 +main (int argc, char **argv)
 +{
-+  int i = 0;
++  static int i = 0; /* `static' to start initialized.  */
 +  int j = 2;
 +
 +  for (j = 0; j < 30; j++)




More information about the fedora-extras-commits mailing list