Aaron Young
3946aa9bac
[libc] Fix strcmp()/strncmp() to return proper values
...
Fix strcmp() and strncmp() to return proper standard positive/negative
values for unequal strings. Current implementation is backwards
(i.e. the functions are returning negative when should be positive and
vice-versa).
Currently all consumers of these functions only check the return value
for ==0 or !=0 and so we can safely change the implementation without
breaking things.
Signed-off-by: Aaron Young <Aaron.Young@oracle.com >
Modified-by: Michael Brown <mcb30@ipxe.org >
Signed-off-by: Michael Brown <mcb30@ipxe.org >
2019-01-15 14:12:27 +00:00
..
2015-07-27 17:25:37 +01:00
2016-07-29 01:12:58 +01:00
2016-07-29 01:12:58 +01:00
2015-04-24 14:41:32 +01:00
2015-04-24 15:32:04 +01:00
2015-03-02 14:17:31 +00:00
2016-05-05 23:42:57 +01:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-07-27 16:04:38 +01:00
2015-07-27 16:04:38 +01:00
2015-03-05 00:59:38 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2016-07-29 01:12:58 +01:00
2015-04-12 17:01:10 +01:00
2015-04-12 17:01:10 +01:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2016-02-11 19:04:23 +00:00
2015-07-28 13:48:29 +01:00
2016-07-25 15:20:22 +01:00
2015-07-28 16:59:11 +01:00
2018-03-24 21:32:06 +00:00
2015-03-16 15:40:53 +00:00
2017-11-12 18:52:03 +00:00
2015-04-12 17:01:10 +01:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2017-11-12 18:52:03 +00:00
2016-08-25 15:41:57 +01:00
2015-07-28 15:22:26 +01:00
2016-07-29 01:13:27 +01:00
2015-08-21 16:25:11 +01:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2015-03-02 14:17:31 +00:00
2016-03-12 17:55:38 +00:00
2017-03-29 10:36:45 +03:00
2016-06-09 09:36:28 +01:00
2015-04-12 17:01:10 +01:00
2015-04-12 17:01:10 +01:00
2015-04-12 17:02:11 +01:00
2019-01-15 14:12:27 +00:00
2015-09-10 14:46:54 +01:00
2015-03-02 14:17:31 +00:00
2017-11-12 18:52:03 +00:00
2015-03-02 14:17:31 +00:00
2010-08-16 16:54:03 +01:00
2016-03-14 18:03:13 +00:00
2016-04-12 11:53:06 +01:00
2015-03-05 00:59:38 +00:00