[PATCH] shrink last_char_is function even more
Lauri Kasanen
cand at gmx.com
Mon Jul 20 05:46:47 UTC 2020
On Sun, 19 Jul 2020 22:31:09 +0200
Tito <farmatito at tiscali.it> wrote:
> please don't do this, this will bite us further up the road,
> similarly as all string functions that save a check and break
> havoc afterwards.
The param should be marked with the nonnull attribute, just like the
libc string functions. Then the compiler will warn you if you try to
pass NULL (may need higher optimization, warning levels, or the
analyzer mode in complex cases).
- Lauri
More information about the busybox
mailing list