pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:2412: Inside #if defined(PIKE_DEBUG)
  #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);    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);    }    else {    *line=0;    return make_shared_string(tmp);    }    }    }   #endif