Hello LLDB Developers ++

I would like to propose the following patch to replace selected instances of 
strcasestr() with strcasecmp()

All of these instances are instances where the string being searched for is 
being compared against only the beginning of the test string.  this can be seen 
in the patch in the value of the equality (i.e. ==) test.

The man page http://linux.die.net/man/3/strcasestr confirms that strcasestr() 
is a non-standard extension.

This patch build with xcode … and with gcc under MinGW.

thanks in advance for any review/feedback/commit .

Attachment: strcasestr-strncasecmp.124846.patch
Description: strcasestr-strncasecmp.124846.patch


++ kirk beitz : nokia : austin + san diego : [email protected] ++



_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to