Max Laier schrieb:
On Saturday 17 March 2007 20:09, Jeff Roberson wrote:
Any language lawyers care to comment on this?
I find this strange. According to the spec "(Decrementing is equivalent
to subtracting 1.)", but "pri = --pri % RQ_NQS;" will behave like you
expect, while "pri = (pri - 1) % RQ_NQS;" clearly didn't.
"pri = --pri % RQ_NQS;" modifies "pri" twice between two sequence
points. According to the C standard this causes undefined behaviour!
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"