Skip to content

pkg_install: fix for missing O_CLOEXEC#156

Open
barracuda156 wants to merge 10000 commits intoNetBSD:trunkfrom
barracuda156:pkg_install
Open

pkg_install: fix for missing O_CLOEXEC#156
barracuda156 wants to merge 10000 commits intoNetBSD:trunkfrom
barracuda156:pkg_install

Conversation

@barracuda156
Copy link

macOS < 10.7 does not have O_CLOEXEC. This matches the fix for another macro just below, and used elsewhere, for example, in legacy-support library: https://github.com/macports/macports-legacy-support/blob/1965ad6ab6c31842158d53ee38f4828e517278a5/include/sys/fcntl.h#L35-L37

With this patch, pkgsrc can be bootstrapped on 10.6.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.