mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
1a21506918
A simple curses/ncursebased juke box program. PR: 11439 Submitted by: Oyvind Moll <oyvindmo@initio.no>
17 lines
549 B
Plaintext
17 lines
549 B
Plaintext
--- ../juke.orig/src/conf.c Thu Apr 15 21:44:53 1999
|
|
+++ ./src/conf.c Sun May 2 12:18:07 1999
|
|
@@ -207,11 +207,11 @@
|
|
return;
|
|
}
|
|
}
|
|
- cfg->file_len = load_file ("/etc/juke.conf", (void **)&cfg->file);
|
|
+ cfg->file_len = load_file (CFG_RCFILE, (void **)&cfg->file);
|
|
if (cfg->file_len != ERROR) {
|
|
evaluate (cfg);
|
|
if (! cfg->formats) {
|
|
- fprintf (stderr, "error: No formats in /etc/juke.config\n");
|
|
+ fprintf (stderr, "error: No formats in " CFG_RCFILE "\n");
|
|
exit (ERROR);
|
|
}
|
|
build_arg_lists (cfg);
|