[vlc-devel] Patch: New compat function strtoi(3)

Rémi Denis-Courmont remi at remlab.net
Wed Jan 21 09:34:37 CET 2015


Le 2015-01-20 20:48, Kamil Rytarowski a écrit :
> Locally defined function strtoi in src/config/file.c overlaps with
> strtoi(3) [1] from NetBSD.
>
> I'm attaching a patch adding NetBSD's flavour of the function to
> compat/, instead of wrapping our own.

The compat stuff seems OK. The rest seems wrong: it changes the 
semantics of the configuration parser. It would be far easier to just 
rename the static function.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list