This patch file may include trailing empty lines and/or trailing lines that consist solely of whitespace. If you edit this file, use software that preserves lines of this type, or you may break the patch. --- cddbd-1.5.2.old/cddbd.c +++ cddbd-1.5.2/cddbd.c @@ -256,7 +256,7 @@ }; static char *servfile_name[SF_NUMSERVFILES] = { - "fuzzy_index", + "/mnt/cddbdata/fuzzy_index", "history", "log" }; @@ -5225,7 +5225,16 @@ quit(QUIT_ERR); } - cddbd_snprintf(servfile[i], len, "%s/%s", p, servfile_name[i]); + if (*servfile_name [i] == '/') + { + cddbd_snprintf (servfile [i], len, "%s", + servfile_name [i]); + } + else + { + cddbd_snprintf (servfile [i], len, "%s/%s", + p, servfile_name [i]); + } } }