Source-Changes-D archive

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

Re: CVS commit: src



On Fri, 02 Jan 2015, Christos Zoulas wrote:
Log Message:
Implement DIOCGMEDIASIZE and DIOCGSECTORSIZE from FreeBSD.

This needs compat32 handling, at least for the u_int arg to
DIOCGSECTORSIZE.

Why not make it a fixed size, like uint32_t, so compat32 handling will
not be needed?

I think it was made u_int to match previous art by FreeBSD. Can you please
explain why it needs compat32 handling?

Sorry, it doesn't need compat32 handling, because all existing
NetBSD platforms have 32-bit int, and all exiting NetBSD platforms
have 64-bit off_t.

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index