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

[MiNT] simply ignore O_GLOBAL in sys_f_open?



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?

-Helmut

--

Attachment: dosfile.diff
Description: Binary data