diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-13 02:51:56 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-13 02:56:19 (EDT) |
commit | 9033d4b6b9b85ab3e502b376daf66ae566c026b6 (patch) | |
tree | 5933fa9a313caff0ec5a0aa38e4087cba777c6d8 /tests | |
parent | e153a4a392e2f6e616b2c94b77eb683eff9e644a (diff) |
libopkbuild: Abort on invalid function arguments
Shift arguments and abort instead of returning 125.
Incorrect numbers of function arguments suggest application/library
incompatibilities or serious errors by the application developer.
Either way, the application developer should be made immediately aware
of this (and not allowed to simply not check return values), and
continuing to run and handle any further API calls may be unsafe.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions