Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5ce831b

Browse filesBrowse files
authored
Merge pull request #339 from wilx/2.0.x
Fix compilation on systems without `O_CLOEXEC`.
2 parents 82de91e + b84321a commit 5ce831b
Copy full SHA for 5ce831b

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/lockfile.cxx

Copy file name to clipboardExpand all lines: src/lockfile.cxx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ LockFile::open (int open_flags) const
237237
+ lock_file_name, true);
238238

239239
#if ! defined (O_CLOEXEC)
240-
if (! trySetCloseOnExec (data->fd, loglog))
240+
if (! trySetCloseOnExec (data->fd))
241241
getLogLog ().warn (
242242
tstring (LOG4CPLUS_TEXT("could not set FD_CLOEXEC on file "))
243243
+ lock_file_name);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.