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

Re: netdate bug

Michael Stroucken <stroucki@master.debian.org> writes:

> Hello,
> 	I use the netdate program of the netstd package to set my clock
> every so often, and recently it started failing. The reason apparently was
> that the program ignored the RFC868 standard which specifies a 32 bit
> reply from the remote host. It checked if the number of octets received
> was less than sizeof(tv_sec), and if so, returned an error.
> 	tv_sec is defined in time.h as long int, which on the Alpha is 64
> bits wide. I'm not sure if that violates POSIX, but that's out of scope.

What kernel and libc do you use? I saw that too, but I think thats
gone with newer kernels/libc.

May the Source be with you.

CC: If the problem resists, please fill in a bug with "bug" or
"reportbug", appending the diff to it.

Reply to: