22c60d0987
pkgsrc change: Add support for DESTDIR. Changes from 3.0.24 are huge, please refer WHATSNEW.txt. <http://viewcvs.samba.org/cgi-bin/viewcvs.cgi/branches/SAMBA_3_0_26/WHATSNEW.txt?rev=22651&view=markup>
17 lines
609 B
Text
17 lines
609 B
Text
$NetBSD: patch-bi,v 1.5 2007/10/28 07:28:48 taca Exp $
|
|
|
|
--- lib/sharesec.c.orig 2007-03-01 13:54:29.000000000 +0900
|
|
+++ lib/sharesec.c
|
|
@@ -47,10 +47,10 @@ BOOL share_info_db_init(void)
|
|
return True;
|
|
}
|
|
|
|
- share_tdb = tdb_open_log(lock_path("share_info.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
|
|
+ share_tdb = tdb_open_log(state_path("share_info.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
|
|
if (!share_tdb) {
|
|
DEBUG(0,("Failed to open share info database %s (%s)\n",
|
|
- lock_path("share_info.tdb"), strerror(errno) ));
|
|
+ state_path("share_info.tdb"), strerror(errno) ));
|
|
return False;
|
|
}
|
|
|