Christian Kellner 0eb59fc848 Use minimal number of characters for strncmp
MAX_GOVERNOR_LENGTH is defined as PATH_MAX + 1, so when comparing
two variable, each of once size, use the smaller one, i.e. PATH_MAX.
Assert statically that MAX_GOVERNOR_LENGTH is larger then PATH_MAX
so copying a string to a MAX_GOVERNOR_LENGTH sized variable from a
PATH_MAX size variable will not truncate the string.
2019-03-28 11:40:40 +00:00
..
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00
2019-03-14 16:59:30 +00:00