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 .
strcasestr-strncasecmp.124846.patch (21.3 KB)
ATT00001.htm (1014 Bytes)