Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 297031 Details for
Bug 150021
papd -d doesn't work
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Write debugging output also to stderr when papd is invoked with -d option
netatalk-2.0.3-log_stderr.patch (text/plain), 962 bytes, created by
Martin Nagy
on 2008-03-06 11:39:04 UTC
(
hide
)
Description:
Write debugging output also to stderr when papd is invoked with -d option
Filename:
MIME Type:
Creator:
Martin Nagy
Created:
2008-03-06 11:39:04 UTC
Size:
962 bytes
patch
obsolete
>diff -up netatalk-2.0.3/etc/papd/main.c.log_stderr netatalk-2.0.3/etc/papd/main.c >--- netatalk-2.0.3/etc/papd/main.c.log_stderr 2004-06-09 03:25:53.000000000 +0200 >+++ netatalk-2.0.3/etc/papd/main.c 2008-03-06 12:14:58.000000000 +0100 >@@ -260,7 +260,7 @@ int main( ac, av ) > > switch (server_lock("papd", pidfile, debug)) { > case 0: /* open a couple things again in the child */ >- if ((c = open("/", O_RDONLY)) >= 0) { >+ if (!debug && (c = open("/", O_RDONLY)) >= 0) { > dup2(c, 1); > dup2(c, 2); > } >@@ -287,7 +287,8 @@ int main( ac, av ) > openlog( p, LOG_PID ); > #else /* ultrix */ > set_processname(p); >- syslog_setup(log_debug, logtype_default, logoption_ndelay|logoption_pid, logfacility_lpr ); >+ syslog_setup(log_debug, logtype_default, logoption_ndelay | logoption_pid | >+ debug ? logoption_perror : 0, logfacility_lpr ); > #endif /* ultrix */ > > LOG(log_info, logtype_papd, "restart (%s)", version );
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 150021
: 297031