]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Because getlocalbase() returns -1 on error, it needs to use a signed type
authorscottl <scottl@FreeBSD.org>
Sun, 15 Nov 2020 07:48:52 +0000 (07:48 +0000)
committerscottl <scottl@FreeBSD.org>
Sun, 15 Nov 2020 07:48:52 +0000 (07:48 +0000)
commit617361368652fb5ffa88dea76a5481ac372a34dc
treeee44e93e98901b36ca5a9f7cbb867a9876dc9a1b
parente567d6b95b7bc1467d87c598be28dd736950e278
Because getlocalbase() returns -1 on error, it needs to use a signed type
internally.  Do that, and make sure that conversations between signed and
unsigned don't overflow
lib/libutil/getlocalbase.c