Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace vfork() with fork() #226

Merged
merged 1 commit into from Jul 27, 2022
Merged

Replace vfork() with fork() #226

merged 1 commit into from Jul 27, 2022

Conversation

olebole
Copy link
Member

@olebole olebole commented Jul 20, 2022

vfork() is marked obsolete in POSIX.1-2001 and was removed from Posix in POSIX.1-2008. Newer macOS compilers warn about this, so we remove it. vfork() was used in Debian only for speed improvements by avoiding copying the address space; however modern systems use copy-on-write, this argument is not actual anymore.

@olebole
Copy link
Member Author

olebole commented Jul 22, 2022

For (Debian) Linux, this is successfully tested for a number of architectures: arm64, amd64, armel, armhf, hurd-i386, i386, mips64el, ppc64el, riscv64, x32.

vfork() is marked obsolete in POSIX.1-2001 and was removed from Posix
in POSIX.1-2008. Newer macOS compilers warn about this, so we remove
it. vfork was used in Debian only for speed improvements by avoiding
copying the address space; however modern systems use copy-on-write,
this argument is not actual anymore.
@olebole olebole merged commit d8123e1 into iraf-community:main Jul 27, 2022
@olebole olebole deleted the fork branch March 13, 2023 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant