svn commit: r311665 - head/sys/fs/cd9660

Konstantin Belousov kostikbel at gmail.com
Sun Jan 8 09:17:25 UTC 2017


On Sun, Jan 08, 2017 at 06:21:49AM +0000, Conrad E. Meyer wrote:
> +/*
> + * When ino_t becomes 64-bit, we can remove this definition in favor of ino_t.
> + */
> +#define cd_ino_t	uint64_t
> +

Why the type is defined and not typedef-ed ?

Also, I do not think that it is good idea to rely on specific size of the
special-purpose system types, like ino_t, even if it is only an intent.
Both because the types can change, and because it reduces the usefulness
of the code outside the FreeBSD content (our code is often taken into
weird embedded systems), where system types might be different.


More information about the svn-src-head mailing list