FreeBSD Bugzilla – Attachment 13589 Details for
Bug 25784
Ability to specify alternate PID file for syslogd
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.18 KB, created by
jonv
on 2001-03-14 00:30:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
jonv
Created:
2001-03-14 00:30:01 UTC
Size:
1.18 KB
patch
obsolete
>*** syslogd.c.orig Tue Mar 13 14:41:49 2001 >--- syslogd.c Tue Mar 13 15:45:43 2001 >*************** >*** 325,331 **** > pid_t ppid = 1; > socklen_t len; > >! while ((ch = getopt(argc, argv, "46Aa:df:kl:m:np:suv")) != -1) > switch (ch) { > case '4': > family = PF_INET; >--- 325,331 ---- > pid_t ppid = 1; > socklen_t len; > >! while ((ch = getopt(argc, argv, "46Aa:df:kl:m:np:P:suv")) != -1) > switch (ch) { > case '4': > family = PF_INET; >*************** >*** 367,372 **** >--- 367,375 ---- > case 'p': /* path */ > funixn[0] = optarg; > break; >+ case 'P': /* path for alt. PID */ >+ PidFile = optarg; >+ break; > case 's': /* no network mode */ > SecureMode++; > break; >*************** >*** 597,603 **** > fprintf(stderr, "%s\n%s\n%s\n", > "usage: syslogd [-46Adnsuv] [-a allowed_peer] [-f config_file]", > " [-m mark_interval] [-p log_socket]", >! " [-l log_socket]"); > exit(1); > } > >--- 600,606 ---- > fprintf(stderr, "%s\n%s\n%s\n", > "usage: syslogd [-46Adnsuv] [-a allowed_peer] [-f config_file]", > " [-m mark_interval] [-p log_socket]", >! " [-l log_socket] [-P pid_file"); > exit(1); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 25784
: 13589