Today we have run into a little problem, too tiny for me to have paid my attention to
to make the function work better we change its internals
This phenonmenon can be observed by use of mutibyte to wide char conversions, string copy , concatenation functions of MS etc
Should I minus one in the return value of the second function to match both versions ? Thank you.
PHP Code:
int processString(xxx)
{
//do something
return non-null terminated string length
}
PHP Code:
int processString(xxx)
{
//do something
return null terminated string length
}
Should I minus one in the return value of the second function to match both versions ? Thank you.