2000-05-06 16:33:02 +00:00
|
|
|
--- param/loadparm.c.orig Wed Apr 26 02:07:00 2000
|
|
|
|
+++ param/loadparm.c Thu Apr 27 11:12:03 2000
|
|
|
|
@@ -105,6 +105,7 @@
|
1999-01-18 02:34:06 +00:00
|
|
|
{
|
|
|
|
char *szPrintcapname;
|
|
|
|
char *szLockDir;
|
|
|
|
+ char *szPidDir;
|
|
|
|
char *szRootdir;
|
|
|
|
char *szDefaultService;
|
|
|
|
char *szDfree;
|
2000-05-06 16:33:02 +00:00
|
|
|
@@ -820,6 +821,8 @@
|
|
|
|
{"preload", P_STRING, P_GLOBAL, &Globals.szAutoServices, NULL, NULL, 0},
|
1999-01-18 02:34:06 +00:00
|
|
|
{"lock directory", P_STRING, P_GLOBAL, &Globals.szLockDir, NULL, NULL, 0},
|
2000-05-06 16:33:02 +00:00
|
|
|
{"lock dir", P_STRING, P_GLOBAL, &Globals.szLockDir, NULL, NULL, 0},
|
1999-01-18 02:34:06 +00:00
|
|
|
+ {"pidfile dir", P_STRING, P_GLOBAL, &Globals.szPidDir, NULL, NULL, 0},
|
|
|
|
+ {"pidfile directory",P_STRING, P_GLOBAL, &Globals.szPidDir, NULL, NULL, 0},
|
2000-05-06 16:33:02 +00:00
|
|
|
#ifdef WITH_UTMP
|
|
|
|
{"utmp directory", P_STRING, P_GLOBAL, &Globals.szUtmpDir, NULL, NULL, 0},
|
|
|
|
{"utmp dir", P_STRING, P_GLOBAL, &Globals.szUtmpDir, NULL, NULL, 0},
|
|
|
|
@@ -911,6 +914,7 @@
|
1999-01-18 02:34:06 +00:00
|
|
|
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, "/");
|
2000-05-06 16:33:02 +00:00
|
|
|
#ifdef WITH_UTMP
|
|
|
|
string_set(&Globals.szUtmpDir, "");
|
|
|
|
@@ -1185,6 +1189,7 @@
|
1999-01-18 02:34:06 +00:00
|
|
|
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)
|
2000-05-06 16:33:02 +00:00
|
|
|
#ifdef WITH_UTMP
|
|
|
|
FN_GLOBAL_STRING(lp_utmpdir,&Globals.szUtmpDir)
|
|
|
|
FN_GLOBAL_STRING(lp_wtmpdir,&Globals.szWtmpDir)
|