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

Re: [MiNT] simply ignore O_GLOBAL in sys_f_open?

On 23/11/15 22:27, Helmut Karlowski wrote:
> In recent kernels Fopen returns EINVAL when O_GLOBAL is set, because
> O_GLOBAL is not supported anymore.
> Unfortunately N.AES has O_GLOBAL set when it opens /dev/console, and
> thus the keyboard does not work.
> The patch below just resets O_GLOBAL and continues, and now the
> keyboard in N.AES works again.
> Could there be any severe side-effects of doing so? Is there an other
> solution for N.AES?

I don't think so, but is the N.AES source available so we could look
into why it uses it ?