rpms/uucp/devel uucp-1.07-sigfpe2.patch, NONE, 1.1 uucp.spec, 1.33, 1.34
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed Apr 4 10:24:31 UTC 2007
Author: lvrabel
Update of /cvs/dist/rpms/uucp/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv25665
Modified Files:
uucp.spec
Added Files:
uucp-1.07-sigfpe2.patch
Log Message:
fix crashes with SIGFPE (#150978)
uucp-1.07-sigfpe2.patch:
log.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE uucp-1.07-sigfpe2.patch ---
--- uucp-1.07/log.c.sigfpe2 2005-03-13 09:35:52.500596891 +0100
+++ uucp-1.07/log.c 2005-03-13 09:38:26.414639470 +0100
@@ -671,8 +671,8 @@
}
/* On a system which can determine microseconds we might very well
- have both csecs == 0 and cmicros == 0. */
- if (csecs == 0 && cmicros < 1000)
+ have both csecs == 0 and cmicros == 0. */
+ if (csecs < 0 || (csecs == 0 && cmicros < 1000))
cbps = 0;
else
{
Index: uucp.spec
===================================================================
RCS file: /cvs/dist/rpms/uucp/devel/uucp.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- uucp.spec 4 Jan 2007 09:52:41 -0000 1.33
+++ uucp.spec 4 Apr 2007 10:24:28 -0000 1.34
@@ -7,7 +7,7 @@
Summary: The uucp utility for copying files between systems
Name: uucp
Version: 1.07
-Release: 14%{?dist}
+Release: 15%{?dist}
License: GPL
Group: Applications/Communications
Url: http://www.airs.com/ian/uucp.html
@@ -19,6 +19,7 @@
Patch6: uucp-1.07-baudboy.patch
Patch8: uucp-1.06.1-pipe.patch
Patch9: uucp-1.07-lfs.patch
+Patch10: uucp-1.07-sigfpe2.patch
Prereq: fileutils /sbin/install-info
BuildPrereq: lockdev-devel >= 1.0.0-14
Requires: lockdev >= 1.0.0-14
@@ -37,6 +38,7 @@
%patch6 -p1 -b .baudboy
%patch8 -p1 -b .pipe
%patch9 -p1 -b .lfs
+%patch10 -p1 -b .sigfpe2
%build
export CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE"
@@ -155,6 +157,9 @@
%config(noreplace) %{_newconfigdir}/sys
%changelog
+* Wed Apr 04 2007 Lukas Vrabel <lvrabel at redhat.com> 1.07-15
+- fix crashes with SIGFPE (#150978) (from Wolfgang Ocker)
+
* Thu Jan 04 2007 Peter Vrabec <pvrabec at redhat.com> 1.07-14
- spec file improvements (#220534)
More information about the fedora-cvs-commits
mailing list