7131346: Parsing of boolean arguments to diagnostic commands is broken

Reviewed-by: dholmes, dcubed
This commit is contained in:
Frederic Parain 2012-01-25 10:32:29 -08:00
parent a9d159b065
commit 6fd2cebd85
2 changed files with 7 additions and 3 deletions

View file

@ -130,6 +130,9 @@ inline jdouble jdouble_cast(jlong x) { return *(jdouble*)&x; }
//----------------------------------------------------------------------------------------------------
// Non-standard stdlib-like stuff:
inline int strcasecmp(const char *s1, const char *s2) { return _stricmp(s1,s2); }
inline int strncasecmp(const char *s1, const char *s2, size_t n) {
return _strnicmp(s1,s2,n);
}
//----------------------------------------------------------------------------------------------------