Add strndup to lint checks
This commit is contained in:
parent
1a4d6e7fe3
commit
ef94001419
|
@ -46,6 +46,7 @@ cd "$(dirname $0)"/..
|
||||||
(git grep "`printf '\tfree('`" libr | grep c: ) && exit 1
|
(git grep "`printf '\tfree('`" libr | grep c: ) && exit 1
|
||||||
(git grep cfg.debug libr| grep get_i) && exit 1
|
(git grep cfg.debug libr| grep get_i) && exit 1
|
||||||
(git grep -e 'asm.bytes"' -e 'asm.xrefs"' -e 'asm.functions"' -e 'asm.emu"' -e 'emu.str"' libr| grep get_i) && exit 1
|
(git grep -e 'asm.bytes"' -e 'asm.xrefs"' -e 'asm.functions"' -e 'asm.emu"' -e 'emu.str"' libr| grep get_i) && exit 1
|
||||||
|
(git grep -n " strndup (" | grep -v sys/) && exit 1
|
||||||
|
|
||||||
(git grep eprintf libr| grep -i error | grep -v '/native/' | grep -v spp | grep -v cons) && exit 1
|
(git grep eprintf libr| grep -i error | grep -v '/native/' | grep -v spp | grep -v cons) && exit 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue