mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
38ffab0121
PR: ports/18266 Submitted by: Anton N. Breusov <antonz@library.ntu-kpi.kiev.ua> Approved by: MAINTAINER
36 lines
1.6 KiB
Plaintext
36 lines
1.6 KiB
Plaintext
--- 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 @@
|
|
{
|
|
char *szPrintcapname;
|
|
char *szLockDir;
|
|
+ char *szPidDir;
|
|
char *szRootdir;
|
|
char *szDefaultService;
|
|
char *szDfree;
|
|
@@ -820,6 +821,8 @@
|
|
{"preload", P_STRING, P_GLOBAL, &Globals.szAutoServices, NULL, NULL, 0},
|
|
{"lock directory", P_STRING, P_GLOBAL, &Globals.szLockDir, NULL, NULL, 0},
|
|
{"lock dir", P_STRING, P_GLOBAL, &Globals.szLockDir, NULL, NULL, 0},
|
|
+ {"pidfile dir", P_STRING, P_GLOBAL, &Globals.szPidDir, NULL, NULL, 0},
|
|
+ {"pidfile directory",P_STRING, P_GLOBAL, &Globals.szPidDir, NULL, NULL, 0},
|
|
#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 @@
|
|
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)
|