Dan McGee
ae7139adcf
Remove most usages of strncmp()
...
The supposed safety blanket of this function is better handled by
explicit length checking and usages of strlen() on known NULL-terminated
strings rather than hoping things fit in a buffer. We also have no need
to fully fill a PATH_MAX length variable with NULLs every time as long
as a single terminating byte is there. Remove usages of it by using
strcpy() or memcpy() as appropriate, after doing length checks via
strlen().
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-05 21:29:02 -05:00
..
2011-06-23 22:50:01 -05:00
2007-07-16 16:49:28 -04:00
2011-07-02 02:01:39 +10:00
2011-06-28 14:04:00 +10:00
2011-07-05 10:22:11 -05:00
2011-07-05 10:22:11 -05:00
2011-07-02 02:01:39 +10:00
2011-07-05 10:13:20 -05:00
2011-06-30 11:51:36 -05:00
2011-06-28 23:28:23 +10:00
2011-03-23 02:22:00 -05:00
2011-03-23 02:22:00 -05:00
2011-07-03 14:44:57 -05:00
2011-07-05 10:13:20 -05:00
2011-07-05 10:13:20 -05:00
2011-07-03 14:44:57 -05:00
2011-07-03 14:29:30 -05:00
2011-07-05 10:13:20 -05:00
2011-07-05 10:13:20 -05:00
2011-07-02 02:01:38 +10:00
2011-06-28 23:28:23 +10:00
2011-07-03 14:44:57 -05:00
2011-06-28 23:28:23 +10:00
2011-07-03 14:44:57 -05:00
2011-06-28 14:04:00 +10:00
2011-07-05 10:13:20 -05:00
2011-06-28 14:04:00 +10:00
2011-07-05 10:13:20 -05:00
2011-06-28 23:28:24 +10:00
2011-06-28 23:28:24 +10:00
2011-06-29 15:52:33 +10:00
2011-06-29 15:52:33 +10:00
2011-07-05 21:29:02 -05:00
2011-07-05 10:13:20 -05:00
2011-07-02 02:01:39 +10:00
2011-06-28 23:28:24 +10:00
2011-04-27 16:58:58 -05:00
2010-09-02 10:33:21 -05:00
2008-06-03 21:31:31 -05:00
2011-07-03 14:44:57 -05:00
2011-07-05 10:13:20 -05:00
2011-06-28 23:28:24 +10:00
2011-06-28 23:28:24 +10:00
2011-07-05 10:22:11 -05:00
2011-06-28 23:26:39 +10:00
2011-07-05 10:13:20 -05:00
2011-07-05 10:13:20 -05:00
2011-07-05 10:13:20 -05:00
2011-06-28 14:04:00 +10:00
2011-07-05 10:13:20 -05:00
2011-06-28 23:28:24 +10:00
2011-07-02 02:01:39 +10:00
2011-07-02 02:01:38 +10:00
2011-03-20 19:49:45 -05:00