Source-Changes-D archive

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

Re: CVS commit: src/sys/compat

On Wed, 04 Jan 2012, Matthias Drochner wrote:
Log Message: Provide a COMPAT_50 version of the CLOCKCTL_NTP_ADJTIME ioctl. When time_t was changed from 32 to 64 bits, this ioctl's number was changed from _IOWR('C', 0x4, struct clockctl_ntp_adjtime) to _IOWR('C', 0x8, struct clockctl_ntp_adjtime), but the data structure did not change, so all the compat code has to do is change the number and try again.

If this just fixes a mistake which doesn't affect a released version, it should be OK to fix the ioctl number (and send a heads-up to current-users).

I think it's OK to break compatibility for current users when it's been only a short time since the change, but it's now been about three yers since the 64-bit time_t changes, so I really don't want to break compatibility.

--apb (Alan Barrett)

Home | Main Index | Thread Index | Old Index