blob: d050ad7a89389176581c66093eaebe4dc6bfe78a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ac,v 1.1 2000/06/02 13:44:18 drochner Exp $
--- kab/addressbook.cc.orig Thu Jun 1 17:02:20 2000
+++ kab/addressbook.cc Thu Jun 1 17:04:13 2000
@@ -83,7 +83,7 @@
}
LG(GUARD, "AddressBook constructor: checking user directory.\n");
dir=KApplication::localkdedir();
- dir+=(string)"/share/apps/kab/";
+ dir+=(string)"/share/apps/kab";
if(access(dir.c_str(), F_OK)!=0)
{
cerr << i18n
@@ -109,7 +109,7 @@
LG(GUARD, "AddressBook constructor: local data dir found.\n");
}
// ----- is it locked ?
- filename=dir+(string)DBFileName;
+ filename=dir+(string)"/"+(string)DBFileName;
if(ConfigDB::IsLocked(filename)!=0)
{
LG(GUARD, "AddressBook constructor: the file is locked.\n");
|