2000-09-16 18:38:55 +00:00
|
|
|
--- src/player/readrc.c.orig Wed Mar 1 09:42:44 2000
|
|
|
|
+++ src/player/readrc.c Fri Aug 4 23:24:03 2000
|
|
|
|
@@ -56,7 +56,7 @@
|
1999-09-18 20:46:21 +00:00
|
|
|
if ((rc = fopen (myrc2, "r")) == NULL) {
|
|
|
|
if ((rc = fopen (myrc, "r")) == NULL) {
|
2000-09-16 18:38:55 +00:00
|
|
|
#ifndef __EMX__
|
1999-09-18 20:46:21 +00:00
|
|
|
- if ((rc = fopen ("/etc/xmp.conf", "r")) == NULL) {
|
2000-09-16 18:38:55 +00:00
|
|
|
+ if ((rc = fopen (ETC_DIR "/xmp.conf", "r")) == NULL) {
|
|
|
|
#else
|
|
|
|
if ((rc = fopen ("xmp.conf", "r")) == NULL) {
|
|
|
|
#endif
|
|
|
|
@@ -202,7 +202,7 @@
|
1999-09-18 20:46:21 +00:00
|
|
|
myrc = malloc ((home ? strlen (home) : 0) + 20);
|
2000-09-16 18:38:55 +00:00
|
|
|
#ifndef __EMX__
|
1999-09-18 20:46:21 +00:00
|
|
|
sprintf (myrc, "%s/.xmp/modules.conf", home);
|
|
|
|
- parse_modconf (ctl, "/etc/xmp-modules.conf", crc, size);
|
2000-09-16 18:38:55 +00:00
|
|
|
+ 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);
|