镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

pkg_install: fix for missing O_CLOEXEC - #156

Open
barracuda156 wants to merge 10000 commits into
NetBSD:trunkfrom
barracuda156:pkg_install
Open

barracuda156 wants to merge 10000 commits into
NetBSD:trunkfrom
barracuda156:pkg_install

Conversation

@barracuda156

Copy link
Copy Markdown

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.