bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FIX: rtime.c & 64Bit


From: WHarms
Subject: FIX: rtime.c & 64Bit
Date: Mon, 11 Feb 2002 14:30:36 +0100

hi glibc-bug,

rtime reads the time on a remote system. It exspects the time to be "unsigned 
long". This is a problem with 64Bit system. if the server is 32bit and the 
client is 64bit.
So i changed "unsigned long" to "uint32_t".

CAVECAT:

1. i have NO rpc standard that says that the server must send a 32bit time.

2. I have no rpc-timeserver so I cant test it

but:
i keep an eye on the netdate command and this problem was the reason de entree 
for me.

walter

 

Attachment: rtime.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]