Skip to content

Should O_DIRECTORY be excluded for solarish platforms? #2273

Closed
@travispaul

Description

@travispaul

While tracking down a build error a couple of crates deep I've found that O_DIRECTORY is omitted on nix for solarish systems:

nix/src/fcntl.rs

Lines 99 to 100 in 2c6bbc4

#[cfg(not(solarish))]
O_DIRECTORY;

However, it is defined in fcntl.h

I've [patch]ed my way around the issue for the moment but I'm unsure if this is accidental or there is a good reason for it so opening this issue as not to forget over the holiday.

ping @jclulow, @jasonbking, @hadfl (saw that you folks worked on these changes as part of /pull/1394)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions