MySQL flaw leaves some systems wide open
Posted Jun 15, 2012 1:48 UTC (Fri) by
wahern (subscriber, #37304)
In reply to:
MySQL flaw leaves some systems wide open by scottt
Parent article:
MySQL flaw leaves some systems wide open
They both define the exact same behavior. But you have to know what "greater than" and "less than" means to fully understand the Linux man page. To know that you have to go to the C standard:
The sign of a nonzero value returned by the comparison functions memcmp, strcmp, and strncmp is determined by the sign of the difference between the values of the first pair of characters (both interpreted as unsigned char) that differ in the objects being compared. (C11 7.23.4, C99 7.21.4)
The BSD man page just incorporates that definition to makes things crystal clear.
(
Log in to post comments)