[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] umask fixes for MiNTlib
On Wed, 2008-06-18 at 19:46 +0100, Alan Hourihane wrote:
> Attached is a patch against MiNTlib which deals with some int/uint
> problems with umask.
>
> mode_t is defined as a uint, but Pumask() is returning an int. So
> there's some casting that has to be done.
>
> This patch does just that.
Actually, thinking about this a little more, it's probably better is
__current_umask is not a mode_t, but an int instead.
Let me send an updated patch.
Alan.