diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 2002-08-10 04:35:27 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 2002-08-10 04:35:27 +0000 |
| commit | 306a0595289a1660e82e229cd0db19e1ff4ef59d (patch) | |
| tree | 702199d3b5e34c9ba151483313d8c26565451c75 /misc/sword15/files/patch-src::mgr::swmgr.cpp | |
| parent | 280725774faa4e3d91ff599cca3a1466c77d300e (diff) | |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_6_1'.release/4.6.1
Diffstat (limited to 'misc/sword15/files/patch-src::mgr::swmgr.cpp')
| -rw-r--r-- | misc/sword15/files/patch-src::mgr::swmgr.cpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/misc/sword15/files/patch-src::mgr::swmgr.cpp b/misc/sword15/files/patch-src::mgr::swmgr.cpp deleted file mode 100644 index fe0db28f4cb7..000000000000 --- a/misc/sword15/files/patch-src::mgr::swmgr.cpp +++ /dev/null @@ -1,37 +0,0 @@ ---- src/mgr/swmgr.cpp.org Wed Dec 12 00:43:04 2001 -+++ src/mgr/swmgr.cpp Wed Dec 12 00:44:39 2001 -@@ -268,21 +268,21 @@ - } - - -- // check for systemwide /etc/sword.conf -+ // check for systemwide _INSTDIR_/etc/sword.conf - - #ifndef __VISUALC__ - if (debug) -- cerr << "\nChecking for /etc/sword.conf..."; -+ cerr << "\nChecking for "_INSTDIR_"/etc/sword.conf..."; - #endif - -- if (!::access("/etc/sword.conf", 04)) { -+ if (!::access(_INSTDIR_"/etc/sword.conf", 04)) { - - #ifndef __VISUALC__ - if (debug) - cerr << "found\n"; - #endif - -- SWConfig etcconf("/etc/sword.conf"); -+ SWConfig etcconf(_INSTDIR_"/etc/sword.conf"); - if ((entry = etcconf.Sections["Install"].find("DataPath")) != etcconf.Sections["Install"].end()) { - path = (*entry).second; - if (((*entry).second.c_str()[strlen((*entry).second.c_str())-1] != '\\') && ((*entry).second.c_str()[strlen((*entry).second.c_str())-1] != '/')) -@@ -290,7 +290,7 @@ - - #ifndef __VISUALC__ - if (debug) -- cerr << "DataPath in /etc/sword.conf is set to: " << path; -+ cerr << "DataPath in "_INSTDIR_"/etc/sword.conf is set to: " << path; - #endif - - #ifndef __VISUALC__ |
