This is the mail archive of the
mailing list for the Cygwin project.
cygwin source question
- From: Christopher Layne <clayne at anodized dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 21 Jan 2007 06:37:31 -0800
- Subject: cygwin source question
I notice in some places, there are double-negates, like:
me->read_ready |= ret || !!(events & (FD_READ | FD_ACCEPT | FD_CLOSE));
What's the rationale for these? To enforce either a 0 or 1, to be directly
in line with boolean, rather than a zero or non-zero result?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html