rpms/qof/FC-4 qof-gnc-date-test.patch, NONE, 1.1 qof.spec, 1.11, 1.12 qof-gnc-date-char.patch, 1.1, NONE
Toshio Ernie Kuratomi (toshio)
fedora-extras-commits at redhat.com
Fri May 12 21:52:05 UTC 2006
Author: toshio
Update of /cvs/extras/rpms/qof/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16511
Modified Files:
qof.spec
Added Files:
qof-gnc-date-test.patch
Removed Files:
qof-gnc-date-char.patch
Log Message:
- After talking with upstream it was decided that the supposed char problem
was a problem with the test suite. New patch fixes an overflow in the
tests.
qof-gnc-date-test.patch:
--- NEW FILE qof-gnc-date-test.patch ---
--- qof-0.6.4/qof/test/test-date.c.bak 2006-05-11 20:47:02.000000000 -0700
+++ qof-0.6.4/qof/test/test-date.c 2006-05-11 23:38:01.000000000 -0700
@@ -370,7 +370,11 @@
srand(time(0));
+ /* Get a random time that won't overflow a signed 32bit int durng testing */
ts = *get_random_timespec ();
+ while (ts.tv_sec >= ((2^31) - (10000*10800))) {
+ ts = *get_random_timespec();
+ };
for (i = 0; i < 10000; i++)
{
Index: qof.spec
===================================================================
RCS file: /cvs/extras/rpms/qof/FC-4/qof.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- qof.spec 1 May 2006 01:17:17 -0000 1.11
+++ qof.spec 12 May 2006 21:52:05 -0000 1.12
@@ -1,6 +1,6 @@
Name: qof
Version: 0.6.4
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Query engine library for C objects
Group: System Environment/Libraries
@@ -8,7 +8,7 @@
URL: http://qof.sf.net
Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Patch0: qof-x86_64.patch
-Patch1: qof-gnc-date-char.patch
+Patch1: qof-gnc-date-test.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libxml2-devel
@@ -116,6 +116,11 @@
%doc html
%changelog
+* Fri May 12 2006 Toshio Kuratomi <toshio-tiki-lounge.com> - 0.6.4-4
+- After talking with upstream it was decided that the supposed char problem
+ was a problem with the test suite. New patch fixes an overflow in the
+ tests.
+
* Sun Apr 30 2006 Toshio Kuratomi <toshio-tiki-lounge.com> - 0.6.4-3
- Fix stupid in a hurry typo.
--- qof-gnc-date-char.patch DELETED ---
More information about the fedora-extras-commits
mailing list