diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-30 02:34:30 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-30 03:03:14 +0100 |
| commit | b96708bd3abc3cca7894b96a22caf6291b0748b0 (patch) | |
| tree | c09e9ff1532a814dbd44a961655a09e48caebd72 /config/coreboot/dell9020sffbmrc_12mb | |
| parent | 9d4302deb237d0b65696ded4924206626e4dd997 (diff) | |
lbutils: strict string functions - abort on err
on the conditions where these functions encounter
an unexpected error, we currently return -1
this means that the caller must check. which means
the caller won't check. nobody does. i often forget.
force the caller (me) to be correct, instead.
the current calling convention is that the real
return value is stored in a pointer, provided inside
the function signature, on a given string function,
and the function's return value is merely an indicator.
this calling convention is retained for now; the next
patch will change it, such that the real value is also
the function's return value. this is more flexible.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/coreboot/dell9020sffbmrc_12mb')
0 files changed, 0 insertions, 0 deletions
