rpms/rusers/devel netkit-rusers-0.17-bigendian.patch, NONE, 1.1 rusers.spec, 1.16, 1.17

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Sep 7 13:48:23 UTC 2005


Author: pknirsch

Update of /cvs/dist/rpms/rusers/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv32201

Modified Files:
	rusers.spec 
Added Files:
	netkit-rusers-0.17-bigendian.patch 
Log Message:
- Fixed 64bit bigendian problem in rpc.rstatd (#130286)


netkit-rusers-0.17-bigendian.patch:
 rstat_proc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE netkit-rusers-0.17-bigendian.patch ---
--- netkit-rusers-0.17/rpc.rstatd/rstat_proc.c.bigendian	2005-09-07 15:42:11.000000000 +0200
+++ netkit-rusers-0.17/rpc.rstatd/rstat_proc.c	2005-09-07 15:43:29.000000000 +0200
@@ -805,8 +805,8 @@
 
 /* ======================================= */
 
-	gettimeofday((struct timeval *)&stats_all.s3.curtime,
-		(struct timezone *) 0);
+	stats_all.s3.curtime.tv_sec = tm.tv_sec;
+	stats_all.s3.curtime.tv_usec = tm.tv_usec;
 	alarm(1);
 	errno = save_errno;
 }


Index: rusers.spec
===================================================================
RCS file: /cvs/dist/rpms/rusers/devel/rusers.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- rusers.spec	4 May 2005 09:44:20 -0000	1.16
+++ rusers.spec	7 Sep 2005 13:48:19 -0000	1.17
@@ -5,7 +5,7 @@
 Summary: Displays the users logged into machines on the local network.
 Name: rusers
 Version: 0.17
-Release: 44
+Release: 45
 License: BSD
 Group: System Environment/Daemons
 Source: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-rusers-%{version}.tar.gz
@@ -24,6 +24,7 @@
 Patch9: netkit-rusers-0.17-rup-timeout.patch
 Patch10: netkit-rusers-0.17-procps.patch
 Patch11: netkit-rusers-0.17-rup-stack.patch
+Patch12: netkit-rusers-0.17-bigendian.patch
 Buildroot: %{_tmppath}/%{name}-root
 BuildRequires: procps libselinux-devel
 
@@ -66,6 +67,7 @@
 %patch9 -p1 -b .rup-timeout
 %patch10 -p1 -b .procps
 %patch11 -p1 -b .rup-stack
+%patch12 -p1 -b .bigendian
 
 %build
 cat > MCONFIG <<EOF
@@ -138,6 +140,9 @@
 %config /etc/rc.d/init.d/rstatd
 
 %changelog
+* Wed Sep 07 2005 Phil Knirsch <pknirsch at redhat.com> 0.17-45
+- Fixed 64bit bigendian problem in rpc.rstatd (#130286)
+
 * Wed May 04 2005 Phil Knirsch <pknirsch at redhat.com> 0.17-44
 - Fixed rup stack problem (#154396)
 




More information about the fedora-cvs-commits mailing list