pkgsrc/net/samba/patches/patch-ch
taca 22c60d0987 Update samba to 3.0.26a.
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>
2007-10-28 07:28:45 +00:00

22 lines
718 B
Text

$NetBSD: patch-ch,v 1.1 2007/10/28 07:28:50 taca Exp $
--- rpc_server/srv_eventlog_lib.c.orig 2007-03-01 13:54:40.000000000 +0900
+++ rpc_server/srv_eventlog_lib.c
@@ -67,7 +67,7 @@ char *elog_tdbname( const char *name )
{
fstring path;
char *tdb_fullpath;
- char *eventlogdir = lock_path( "eventlog" );
+ char *eventlogdir = state_path( "eventlog" );
pstr_sprintf( path, "%s/%s.tdb", eventlogdir, name );
strlower_m( path );
@@ -349,7 +349,7 @@ ELOG_TDB *elog_open_tdb( char *logname,
/* make sure that the eventlog dir exists */
- eventlogdir = lock_path( "eventlog" );
+ eventlogdir = state_path( "eventlog" );
if ( !directory_exist( eventlogdir, NULL ) )
mkdir( eventlogdir, 0755 );