1 $NetBSD: patch-ab,v 1.2 2003/07/22 21:14:47 jmmv Exp $
3 --- TideContext.cc.orig Fri Mar 23 21:52:40 2001
4 +++ TideContext.cc Thu May 31 13:48:53 2001
7 settings = in_settings;
9 - // Get HFILE_PATH from environment or /etc/xtide.conf and create
10 + // Get HFILE_PATH from environment or ${PKG_SYSCONFDIR}/xtide.conf and create
11 // persistent HarmonicsPath
12 Dstr hfile_path (getenv ("HFILE_PATH"));
13 if (hfile_path.isNull()) {
15 - if ((configfile = fopen ("/etc/xtide.conf", "r"))) {
16 + if ((configfile = fopen (PKG_SYSCONFDIR "/xtide.conf", "r"))) {
17 hfile_path.getline (configfile);