Arne Driescher writes: > + /* Get a working copy from the raw_filename */ > + filename = strdup(raw_filename); This is gross. The variable filename is a constant and need not be copied. The correct fix is a onliner: change "char *p" to "const char *p". Kim Minh.