Browse Source

- MFB Fix zend*_str_tolower_copy()

migration/RELEASE_1_0_0
Marcus Boerger 21 years ago
parent
commit
e9086f967a
  1. 4
      Zend/zend_operators.c

4
Zend/zend_operators.c

@ -2118,7 +2118,7 @@ ZEND_API char *zend_str_tolower_copy(char *dest, const char *source, unsigned in
while (str < end) {
*result++ = tolower((int)*str++);
}
*result = *end;
*result = '\0';
return dest;
}
@ -2138,7 +2138,7 @@ ZEND_API void *zend_u_str_tolower_copy(zend_uchar type, void *dest, const void *
while (str < end) {
*result++ = u_tolower((int)*str++);
}
*result = *end;
*result = '\0';
return dest;
} else {

Loading…
Cancel
Save