Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
dCache
cta
Commits
e8484622
Commit
e8484622
authored
13 years ago
by
Sebastien Ponce
Browse files
Options
Downloads
Patches
Plain Diff
Another stupid fix on MAC code
parent
0e7e2d62
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlf/dlf_lib.c
+3
-3
3 additions, 3 deletions
dlf/dlf_lib.c
with
3 additions
and
3 deletions
dlf/dlf_lib.c
+
3
−
3
View file @
e8484622
...
...
@@ -747,11 +747,11 @@ static void dlf_closelog(void) {
* especially play with the timestamp
*---------------------------------------------------------------------------*/
static
void
dlf_syslog
(
char
*
msg
,
int
msglen
)
{
int
send_flags
=
MSG_NOSIGNAL
;
#ifdef __APPLE__
int
send_flags
=
0
;
#if
n
def __APPLE__
// MAC has has no MSG_NOSIGNAL
// but >= 10.2 comes with SO_NOSIGPIPE
send_flags
=
0
;
send_flags
=
MSG_NOSIGNAL
;
#endif
/* enter critical section */
pthread_mutex_lock
(
&
syslog_lock
);
...
...
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