From: Greg T. <le...@us...> - 2006-10-18 14:27:08
|
Update of /cvsroot/ufraw/ufraw In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv27457 Modified Files: ufraw_conf.c ufraw_routines.c Log Message: Replace isspace with g_ascii_isspace (to avoid passing signed/wrong type to isspace). Index: ufraw_routines.c =================================================================== RCS file: /cvsroot/ufraw/ufraw/ufraw_routines.c,v retrieving revision 1.59 retrieving revision 1.60 diff -C2 -d -r1.59 -r1.60 *** ufraw_routines.c 2 Oct 2006 07:55:14 -0000 1.59 --- ufraw_routines.c 18 Oct 2006 14:27:04 -0000 1.60 *************** *** 260,265 **** char temp[max_path]; error = error; ! for(; len>0 && isspace(*text); len--, text++); ! for(; len>0 && isspace(text[len-1]); len--); if (len==0) return; if (len>max_path-1) len=max_path-1; --- 260,265 ---- char temp[max_path]; error = error; ! for(; len>0 && g_ascii_isspace(*text); len--, text++); ! for(; len>0 && g_ascii_isspace(text[len-1]); len--); if (len==0) return; if (len>max_path-1) len=max_path-1; Index: ufraw_conf.c =================================================================== RCS file: /cvsroot/ufraw/ufraw/ufraw_conf.c,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** ufraw_conf.c 13 Oct 2006 03:37:40 -0000 1.37 --- ufraw_conf.c 18 Oct 2006 14:27:04 -0000 1.38 *************** *** 252,257 **** int i; error = error; ! for(; len>0 && isspace(*text); len--, text++); ! for(; len>0 && isspace(text[len-1]); len--); if (len==0) return; if (len>max_path-1) len=max_path-1; --- 252,257 ---- int i; error = error; ! for(; len>0 && g_ascii_isspace(*text); len--, text++); ! for(; len>0 && g_ascii_isspace(text[len-1]); len--); if (len==0) return; if (len>max_path-1) len=max_path-1; |