Paul Eggert writes: > Giuseppe Scrivano wrote: >> is it ok for now to keep these calls to sigprocmask and fix all the >> other issues you reported (until the ls.c code is Gnulib-ized)? > > Sure, if removing sigprocmask calls is merely an efficiency thing. > (It may be that the cost of the sigprocmask calls is not significant, > so we can leave them in.) Correctness is the bigger problem here. I've attached a new version where I leave sigprocmask when colors are used on a tty. Regards, Giuseppe