2014-09-03
2014-09-03 21:11:21 by Martin Nilsson <nilsson@opera.com>
-
5aa54c07851a1de7423dde250737182dd3465319
(5 lines)
(+3/-2)
[
Show
| Annotate
]
Branch: 8.0
strchr is C89 and 4.3BSD
2419: Inside #if defined(PIKE_DEBUG) and #if defined(DEBUG_MALLOC)
{
char *tmp=dmalloc_find_name(p);
if (tmp) {
- char *p = STRCHR (tmp, ':');
+ char *p = strchr (tmp, ':');
if (p) {
char *pp;
- while ((pp = STRCHR (p + 1, ':'))) p = pp;
+ while ((pp = strchr (p + 1, ':'))) p = pp;
*line = atoi (p + 1);
return make_shared_binary_string (tmp, p - tmp);
}