rem: char * m;
add: const char * m;
context: double my_strtod ( const char *nptr, const char **endptr ){    double entier=0, mantisse=0, resultat=0;    int invert = 0;    char * p;    if (!nptr)	return 0;    for ( p = nptr; p < nptr + strlen(nptr); p++ )    {	if (g_ascii_isspace(*p) || *p == '+' )	    continue;	if (*p == '-')	{	    invert = 1;	    continue;	}	if ( *p == ',' || *p == '.' )	{	    char * m;	    for ( m = p+1; m <= nptr+strlen(nptr) && 		  (g_ascii_isdigit(*m) || g_ascii_isspace(*m)); m++)		/* Nothing, just loop */ ;	    for ( --m; m > p; m-- )	    {		if (isdigit(*m))		{		    mantisse /= 10;		    mantisse += (*m - '0');		}	    }	    mantisse /= 10;	}	if (isdigit(*p))	{	    entier = entier * 10;	    entier += (*p - '0');	}	else	{	    break;	}    }    resultat = entier + mantisse;    if ( invert )	resultat = - resultat;    return resultat;}