Subject: Re: Why does mode_t need 32 bits?
To: None <cgd@pa.dec.com>
From: Gordon W. Ross <gwr@mc.com>
List: tech-kern
Date: 10/30/1997 16:26:58
> From: "Chris G. Demetriou" <cgd@pa.dec.com>
> Date: Thu, 30 Oct 97 13:05:00 -0800
[...]
> In fact, the kernel was assuming promotion to 'int', but that
> promotion wasn't guaranteed if the prototype was used.  _that_ was
> what was broken, and it did need fixing.

So... could we just fix the function prototype?

It usually works well to declare functions with arguments having
the actual type you expect after any promotion.  Would that cause
some problem in this case?  i.e.: int umask(int);

Gordon