CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/09/03 17:08:42
Modified files:
usr.bin/less : ch.c command.c edit.c forwback.c input.c less.h
line.c linenum.c os.c output.c screen.c
search.c signal.c tags.c ttyin.c
Log message:
less uses a correct raceless signal method of indicating signal events in
a volatile sig_atomic_t variable, and then processing events in the mainloop.
But only one variable was used for 3 signals, with |= bit operations which
are signal interruptable! Rewrite the code to use 3 independent variables
and cleanup how the mainloop observes indications.
ok schwarze