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

Re: [MiNT] bash ^C bug



On 31/01/12 20:52, Vincent Rivière wrote:
Vincent Rivière wrote:
I don't remember precisely, I will look at my notes (if any).

Here are my notes about that bug, written when I investigated that in august 2010. Please do not blindly consider this is true or accurate.

Flags for sigaction():
http://www.gnu.org/savannah-checkouts/gnu/libc/manual/html_node/Flags-for-Sigaction.html

The MiNTLib acts as if SA_RESTART was always used.

I don't see this either.  SA_RESTART is also defined to 0 in the mintlib.

By default, it should do the opposite.
And implement the SA_RESTART flag which currently does not exist.

As a contrary, the coreutils correctly works because they do use SA_RESTART.

The kernel doesn't do anything with SA_RESTART. So it can't work.

Alan.