Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
samba
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Samba Team
samba
Commits
86cf40e6
Commit
86cf40e6
authored
7 years ago
by
Mathieu Parent
Browse files
Options
Downloads
Patches
Plain Diff
Remove bug_598313_upstream_7499-nss_wins-dont-clobber-daemons-logs.patch, unused
parent
42c27983
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
debian/patches/bug_598313_upstream_7499-nss_wins-dont-clobber-daemons-logs.patch
+0
-43
0 additions, 43 deletions
...13_upstream_7499-nss_wins-dont-clobber-daemons-logs.patch
with
0 additions
and
43 deletions
debian/patches/bug_598313_upstream_7499-nss_wins-dont-clobber-daemons-logs.patch
deleted
100644 → 0
+
0
−
43
View file @
42c27983
Description: nss_wins stop clobbering other daemon's log
Author: Christian Perrier <bubulle@debian.org>,Buchan Milne
Bug-Debian: http://bugs.debian.org/598313
Forwarded: yes
Bug: https://bugzilla.samba.org/show_bug.cgi?id=7499
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -475,15 +475,17 @@
if (state.logtype == DEBUG_FILE) {
#ifdef WITH_SYSLOG
- const char *p = strrchr_m( prog_name,'/' );
- if (p)
- prog_name = p + 1;
+ if (prog_name) {
+ const char *p = strrchr_m( prog_name,'/' );
+ if (p)
+ prog_name = p + 1;
#ifdef LOG_DAEMON
- openlog( prog_name, LOG_PID, SYSLOG_FACILITY );
+ openlog( prog_name, LOG_PID, SYSLOG_FACILITY );
#else
- /* for old systems that have no facility codes. */
- openlog( prog_name, LOG_PID );
+ /* for old systems that have no facility codes. */
+ openlog( prog_name, LOG_PID );
#endif
+ }
#endif
}
}
--- a/nsswitch/wins.c
+++ b/nsswitch/wins.c
@@ -52,7 +52,7 @@
lp_set_cmdline("log level", "0");
TimeInit();
- setup_logging("nss_wins",False);
+ setup_logging(NULL,False);
lp_load(get_dyn_CONFIGFILE(),True,False,False,True);
load_interfaces();
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment