Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Clone in Desktop Download ZIP

Loading…

Legacy system support (O_CLOEXEC) #4

Closed
wants to merge 1 commit into from

2 participants

@vadirn

No description provided.

@garlick
Owner

Thanks - I've pulled this in (slightly changed) for the next release. Regards -Jim

@garlick garlick closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 4, 2012
  1. @vadirn
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 0 deletions.
  1. +6 −0 diod/ops.c
View
6 diod/ops.c
@@ -592,6 +592,12 @@ _remap_oflags (int flags)
{
int i;
int rflags = 0;
+
+ /* Legacy system support */
+ #ifndef O_CLOEXEC
+ O_CLOEXEC = 0
+ #endif
+
struct dotl_openflag_map dotl_oflag_map[] = {
{ O_CREAT, P9_DOTL_CREATE },
{ O_EXCL, P9_DOTL_EXCL },
Something went wrong with that request. Please try again.