summary refs log tree commit diff
path: root/sunrpc/rtime.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-02-14 09:25:02 +0000
committerUlrich Drepper <drepper@redhat.com>2002-02-14 09:25:02 +0000
commit425838aa4b78c3fa9d43d75d85ebdc15f96f52d7 (patch)
treec96475fe61a3b11f029d6e63c214d4817a330164 /sunrpc/rtime.c
parentfc093be16082b406ee160762d773a791a5b3b965 (diff)
downloadglibc-425838aa4b78c3fa9d43d75d85ebdc15f96f52d7.tar.gz
glibc-425838aa4b78c3fa9d43d75d85ebdc15f96f52d7.tar.xz
glibc-425838aa4b78c3fa9d43d75d85ebdc15f96f52d7.zip
Update.
2002-02-14  Ulrich Drepper  <drepper@redhat.com>

	* stdlib/test-a64l.c (tests): Add more test cases.

	* sunrpc/rtime.c (rtime): Change type of thetime to uint32_t.
	Reported by Walter Harms <WHarms@bfs.de>.

2002-02-11  Jes Sorensen  <jes@trained-monkey.org>

	* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add sc_flag bit
	definitions for struct sigcontext.
	Suggested by David Mosberger-Tang.
Diffstat (limited to 'sunrpc/rtime.c')
-rw-r--r--sunrpc/rtime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sunrpc/rtime.c b/sunrpc/rtime.c
index ba3e768b08..536d018c90 100644
--- a/sunrpc/rtime.c
+++ b/sunrpc/rtime.c
@@ -77,7 +77,8 @@ rtime (struct sockaddr_in *addrp, struct rpc_timeval *timep,
   struct pollfd fd;
   int milliseconds;
   int res;
-  unsigned long thetime;
+  /* RFC 868 says the time is transmitted as a 32-bit value.  */
+  uint32_t thetime;
   struct sockaddr_in from;
   int fromlen;
   int type;