--- polipo-1.0.4.1.old/main.c +++ polipo-1.0.4.1/main.c @@ -42,6 +42,7 @@ main(int argc, char **argv) { FdEventHandlerPtr listener; + char *cp; int i; int rc; int expire = 0, printConfig = 0; @@ -107,8 +108,9 @@ } if(configFile == NULL) { - if(access("/etc/polipo/config", F_OK) >= 0) - configFile = internAtom("/etc/polipo/config"); + cp = "__META_PREFIX__/etc/polipo/config"; + if(access (cp, F_OK) >= 0) + configFile = internAtom (cp); if(configFile && access(configFile->string, F_OK) < 0) { releaseAtom(configFile); configFile = NULL;