On Sun, 19 Jul 2020 22:31:09 +0200
Tito <farmat...@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
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to