Source-Changes-D archive

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

re: CVS commit: src/sys/compat/netbsd32



"Rin Okuyama" writes:
> Module Name:	src
> Committed By:	rin
> Date:		Sun Nov 13 13:59:45 UTC 2016
> 
> Modified Files:
> 	src/sys/compat/netbsd32: netbsd32_conv.h
> 
> Log Message:
> correct wrong casting. some are considered harmless, but
> - tv_sec in netbsd32_timeval is netbsd32_time_t (aka netbsd32_int64_t)
>   rather than time_t (int64_t)
> - tv_sec in netbsd32_timespec is netbsd32_time_t rather than
>   netbsd32_long (y2038 problem)
> approved by martin

i didn't look closely, but note that netbsd 5.0 had different
time_t -- it was only 32 bits.

please check the compat50 and earlier code works fine with this.

thanks.


.mrg.


Home | Main Index | Thread Index | Old Index