pike.git
/
src
/
program.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/program.c:2410:
#undef CMP #ifdef PIKE_DEBUG struct pike_string *find_program_name(struct program *p, INT_TYPE *line) { INT_TYPE l; if(!line) line=&l; #ifdef DEBUG_MALLOC {
-
char *tmp=dmalloc_find_name(p);
+
const
char *tmp=dmalloc_find_name(p);
if (tmp) { char *p = strchr (tmp, ':'); if (p) { char *pp; while ((pp = strchr (p + 1, ':'))) p = pp; *line = atoi (p + 1); return make_shared_binary_string (tmp, p - tmp); } else { *line=0;