summaryrefslogtreecommitdiff
path: root/japanese/samba20/files/patch-ab
blob: 9280db4a777da87ed9eb1a3521736e4e9306dff8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- param/loadparm.c.orig	Mon May 29 05:48:34 2000
+++ param/loadparm.c	Wed Jun 28 09:21:07 2000
@@ -106,6 +106,7 @@
 {
   char *szPrintcapname;
   char *szLockDir;
+  char *szPidDir;
   char *szRootdir;
   char *szDefaultService;
   char *szDfree;
@@ -821,6 +822,8 @@
   {N_("preload"),          P_STRING,  P_GLOBAL, &Globals.szAutoServices,    NULL,   NULL,  0},
   {N_("lock directory"),   P_STRING,  P_GLOBAL, &Globals.szLockDir,         NULL,   NULL,  0},
   {N_("lock dir"),         P_STRING,  P_GLOBAL, &Globals.szLockDir,         NULL,   NULL,  0},
+  {N_("pidfile dir"),      P_STRING,  P_GLOBAL, &Globals.szPidDir,          NULL, NULL,  0},
+  {N_("pidfile directory"),P_STRING,  P_GLOBAL, &Globals.szPidDir,          NULL, NULL,  0},
 #ifdef WITH_UTMP
   {N_("utmp directory"),   P_STRING,  P_GLOBAL, &Globals.szUtmpDir,         NULL,   NULL,  0},
   {N_("utmp dir"),         P_STRING,  P_GLOBAL, &Globals.szUtmpDir,         NULL,   NULL,  0},
@@ -911,6 +914,7 @@
   string_set(&Globals.szPrintcapname, PRINTCAP_NAME);
   string_set(&Globals.szDriverFile, DRIVERFILE);
   string_set(&Globals.szLockDir, LOCKDIR);
+  string_set(&Globals.szPidDir, PIDFILEDIR);
   string_set(&Globals.szRootdir, "/");
 #ifdef WITH_UTMP
   string_set(&Globals.szUtmpDir, "");
@@ -1185,6 +1189,7 @@
 FN_GLOBAL_STRING(lp_serverstring,&Globals.szServerString)
 FN_GLOBAL_STRING(lp_printcapname,&Globals.szPrintcapname)
 FN_GLOBAL_STRING(lp_lockdir,&Globals.szLockDir)
+FN_GLOBAL_STRING(lp_piddir,&Globals.szPidDir)
 #ifdef WITH_UTMP
 FN_GLOBAL_STRING(lp_utmpdir,&Globals.szUtmpDir)
 FN_GLOBAL_STRING(lp_wtmpdir,&Globals.szWtmpDir)