aboutsummaryrefslogtreecommitdiffstats
path: root/z33.c
diff options
context:
space:
mode:
authorJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:37:27 +0000
committerJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:37:27 +0000
commit7db8921aac3a0e1223af269ec7092bdd91a7c7a2 (patch)
tree4336d04fbb26c26d23f6d5a3d572b474dd1f70af /z33.c
parenta9f9ae0efa326dc2edc7f2d92ce270f5fdc15b60 (diff)
downloadlout-7db8921aac3a0e1223af269ec7092bdd91a7c7a2.tar.gz
Lout 3.24.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@17 9365b830-b601-4143-9ba8-b4a8e2c3339c
Diffstat (limited to 'z33.c')
-rw-r--r--z33.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/z33.c b/z33.c
index ac6185b..52b7937 100644
--- a/z33.c
+++ b/z33.c
@@ -441,8 +441,12 @@ OBJECT DbLoad(OBJECT stem, int fpath, BOOLEAN create, OBJECT symbs,
if( fp == null && create )
{ db = nilobj;
debug0(DFS, D, " calling DefineFile from DbLoad (2)");
+ /* *** bug fix JeffK 12/9/00; need same path as index file
dfnum = DefineFile(string(stem), DATA_SUFFIX, &fpos(stem),
DATABASE_FILE, DATABASE_PATH);
+ *** */
+ dfnum = DefineFile(string(stem), DATA_SUFFIX, &fpos(stem),
+ DATABASE_FILE, fpath);
dfpos = 0L; LexPush(dfnum, 0, DATABASE_FILE, 1, FALSE);
t = LexGetToken();
dlnum = line_num(fpos(t));