-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
cp: fix Ioctl casting for ppc64 (Closes: #8161) #8637
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
|
GNU testsuite comparison: |
src/uu/cp/src/platform/linux.rs
Outdated
| let dst_file = File::create(&dest)?; | ||
| let src_fd = src_file.as_raw_fd(); | ||
| let dst_fd = dst_file.as_raw_fd(); | ||
| // Using .try_into().unwrap() is required as glibc, musl & android all have different type for ioctl() |
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.
Can remove the now obsolete comment.
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.
done
|
please run |
|
also, it would be nice to have CI for this to make sure we don't regress |
|
GNU testsuite comparison: |
|
|
have a new job in github action to build on ppc64 |
|
@sylvestre I will try, thanks |
No description provided.