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

copy-file is implemented by shelling out to /bin/cp on Unix platforms #1649

Open
housel opened this issue Jan 16, 2025 · 0 comments
Open

copy-file is implemented by shelling out to /bin/cp on Unix platforms #1649

housel opened this issue Jan 16, 2025 · 0 comments

Comments

@housel
Copy link
Member

housel commented Jan 16, 2025

Modern Linux and FreeBSD have a copy_file_range system call, and mac OS has copyfile; these can be used directly to implement %copy-file rather than using run-application to invoke the cp program.

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

No branches or pull requests

1 participant