Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Interrupting globs (Re: Something rotten in tar completion)
On Dec 7,  6:59pm, Peter Stephenson wrote:
}
} I'm worried about the various occurrences of this:
} 
} 	    /* Keep any user interrupt error status */
} 	    errflag = oef | (errflag & ERRFLAG_INT);
I believe that could be rewritten as
	errflag &= ~ERRFLAG_ERROR;
	errflag |= oef;
to avoid reading errflag and then writing back to it.  That's likely
more efficient than queueing/unqueing signals.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author