Bug#32903: marked as done (64bit bugfix in the RPC library)
Your message dated Sun, 14 Feb 1999 11:59:44 -0800
with message-id <v04104426b2ecdb933cac@[206.163.71.146]>
and subject line Fixed in 2.0.7.19981211-5
has caused the attached bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Ian Jackson
(administrator, Debian bugs database)
Received: (at submit) by bugs.debian.org; 5 Feb 1999 01:26:29 +0000
Received: (qmail 22807 invoked from network); 5 Feb 1999 01:26:28 -0000
Received: from buffalo.ens-lyon.fr (140.77.1.8)
by master.debian.org with SMTP; 5 Feb 1999 01:26:28 -0000
Received: from porto.ens-lyon.fr (porto [140.77.11.25])
by buffalo.ens-lyon.fr (8.9.1a/8.9.1) with ESMTP id CAA14784
for <submit@bugs.debian.org>; Fri, 5 Feb 1999 02:26:23 +0100 (MET)
Received: (from lprylli@localhost)
by porto.ens-lyon.fr (8.9.1a/8.9.1) id CAA21816;
Fri, 5 Feb 1999 02:26:23 +0100 (MET)
From: Loic Prylli <Loic.Prylli@ens-lyon.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Fri, 5 Feb 1999 02:26:23 +0100 (MET)
To: submit@bugs.debian.org
X-Debian-CC: debian-alpha@lists.debian.org
Subject: 64bit bugfix in the RPC library
X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid
Message-ID: <[🔎] 14010.18350.141973.670859@porto>
Content-Transfer-Encoding: 7bit
Package: libc6
Version: 2.0.7.19981211-2
Severity: normal
Hello,
Below is a patch that solves some "RPC timed out" problems on Alpha,
they were occuring only if timeofday was set before the year 1970.
Loic
diff -r -u glibc-2.0.7.19981211/sunrpc/clnt_tcp.c glibc-2.0.7.19981211.new/sunrpc/clnt_tcp.c
--- glibc-2.0.7.19981211/sunrpc/clnt_tcp.c Sat Dec 12 05:52:18 1998
+++ glibc-2.0.7.19981211.new/sunrpc/clnt_tcp.c Fri Feb 5 00:53:55 1999
@@ -289,7 +289,7 @@
continue;
return (ct->ct_error.re_status);
}
- if (reply_msg.rm_xid == x_id)
+ if ((u_int32_t)reply_msg.rm_xid == (u_int32_t)x_id)
break;
}
diff -r -u glibc-2.0.7.19981211/sunrpc/pmap_rmt.c glibc-2.0.7.19981211.new/sunrpc/pmap_rmt.c
--- glibc-2.0.7.19981211/sunrpc/pmap_rmt.c Sat Dec 12 05:52:29 1998
+++ glibc-2.0.7.19981211.new/sunrpc/pmap_rmt.c Fri Feb 5 00:53:15 1999
@@ -359,7 +359,7 @@
*/
xdrmem_create(xdrs, inbuf, (u_int)inlen, XDR_DECODE);
if (xdr_replymsg(xdrs, &msg)) {
- if ((msg.rm_xid == xid) &&
+ if (((u_int32_t)msg.rm_xid == (u_int32_t)xid) &&
(msg.rm_reply.rp_stat == MSG_ACCEPTED) &&
(msg.acpted_rply.ar_stat == SUCCESS)) {
raddr.sin_port = htons((u_short)port);
@@ -369,7 +369,7 @@
} else {
#ifdef notdef
/* some kind of deserialization problem ... */
- if (msg.rm_xid == xid)
+ if ((u_int32_t)msg.rm_xid == (u_int32_t)xid)
fprintf(stderr, "Broadcast deserialization problem");
/* otherwise, just random garbage */
#endif
Reply to: