shell function name length, question
Roberto A. Foglietta
roberto.foglietta at gmail.com
Sat Aug 14 15:50:27 UTC 2021
Il giorno sab 14 ago 2021 alle ore 17:29 tito <farmatito at tiscali.it> ha
scritto:
>
> what happens if two functions have a 257 char long name that differ
> only in the last char?
>
The $FUNCNAME will display the first 256 characters only
Who will search for the function, it will find two.
> Why don't make the names as long as needed with a dynamically
> allocated buffer?
>
Bug prone, dealing with malloc returns NULL, etc.
Thank you for your question, I found and fixed a bug.
I will submit the 6th patch in the other thread.
--
Roberto A. Foglietta
+39.349.33.30.697
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20210814/85bde6b0/attachment.html>
More information about the busybox
mailing list