$NetBSD: patch-ab,v 1.3 2002/12/22 17:05:52 jmmv Exp $ --- src/player/readrc.c.orig Wed Jan 3 11:50:08 2001 +++ src/player/readrc.c Mon Jan 28 15:28:59 2002 @@ -58,7 +58,7 @@ if ((rc = fopen (myrc2, "r")) == NULL) { if ((rc = fopen (myrc, "r")) == NULL) { #ifndef __EMX__ - if ((rc = fopen ("/etc/xmp.conf", "r")) == NULL) { + if ((rc = fopen (ETC_DIR "/xmp.conf", "r")) == NULL) { #else if ((rc = fopen ("xmp.conf", "r")) == NULL) { #endif @@ -206,7 +206,7 @@ myrc = malloc ((home ? strlen (home) : 0) + 20); #ifndef __EMX__ sprintf (myrc, "%s/.xmp/modules.conf", home); - parse_modconf (ctl, "/etc/xmp-modules.conf", crc, size); + parse_modconf (ctl, ETC_DIR "/xmp-modules.conf", crc, size); #else sprintf (myrc, "%s\\.xmp\\modules.conf", home); parse_modconf (ctl, "xmp-modules.conf", crc, size);