-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
When I was looking #9992 , I saw a strange cfg block for Windows:
coreutils/src/uu/hashsum/src/hashsum.rs
Lines 174 to 184 in 5ce558c
| // on Windows, allow --binary/--text to be used with --check | |
| // and keep the behavior of defaulting to binary | |
| #[cfg(not(windows))] | |
| { | |
| let text_flag = matches.get_flag("text"); | |
| let binary_flag = matches.get_flag("binary"); | |
| if binary_flag || text_flag { | |
| return Err(ChecksumError::BinaryTextConflict.into()); | |
| } | |
| } |
But I think it is not too many useful considering we decided to ignore --text on Cygwin.
Also if Cygwin people want to be same Linux, it cause a confusion on MSYS having both packages. Can we just drop it or do same things for cygwin?