-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
yes: use splice_data functions from uucore #6980
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
Conversation
b36122e
to
782f628
Compare
@@ -10,19 +10,21 @@ | |||
//! does not handle copying special files (e.g pipes, character/block devices). | |||
|
|||
use crate::error::{UError, UResult}; | |||
use nix::unistd; | |||
|
|||
use std::fs::File; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use std::fs::File; |
#[cfg(unix)] | ||
use nix::unistd; | ||
#[cfg(unix)] | ||
use nix::{errno::Errno, libc::S_IFIFO, sys::stat::fstat}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use nix::{errno::Errno, libc::S_IFIFO, sys::stat::fstat}; | |
use nix::{libc::S_IFIFO, sys::stat::fstat}; |
eh, i figured out some missing compile guards on the buf-copy. lemme resolve em first and make a new PR |
GNU testsuite comparison:
|
9375fbd
to
6cdc9f6
Compare
GNU testsuite comparison:
|
6cdc9f6
to
3386ba7
Compare
GNU testsuite comparison:
|
Did you see that some jobs in the CI fail? |
oh, hmm i didn't see those. sorry, i'll try to fix em a bit later |
3386ba7
to
0a45898
Compare
0a45898
to
34c60f9
Compare
GNU testsuite comparison:
|
Hi, ran into a problem here. >,< I found out that The problem is that, I'm actually considering deleting altogether the code I separated from So, what do the devs here think? There are two choices I see:
|
GNU testsuite comparison:
|
Let's do that, it is fine :) |
Have
yes
use the splice-write utilities from uucore. Follow-up of #6964.