[Bf-committers] strcmp->strncmp code update

Johan C. 0wl256 at gmail.com
Sun Jun 26 18:29:06 CEST 2011


Hi,

It'd be best to rewrite the strcmp functions with strncmp and using
#include<cstring> instead of libc string.h .

So strcmp(1,2) would become std::strncmp(1,2,std::strlen(2));

Love,
erana

PS: You can patch it with a line of perl.


More information about the Bf-committers mailing list