We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 945a14f + 6f7c4b4 commit 2a51251Copy full SHA for 2a51251
master_changes.md
@@ -127,6 +127,7 @@ users)
127
128
## Internal: Windows
129
* Set the console to use UTF-8 on Windows using SetConsoleCP and SetConsoleOutputCP [#5970 @kit-ty-kate]
130
+ * Harden the CRLF stripping when using cygcheck [#5993 @dra27]
131
132
## Test
133
src/core/opamStd.ml
@@ -1219,7 +1219,8 @@ module OpamSys = struct
1219
let rec check_dll platform =
1220
match input_line c with
1221
| dll ->
1222
- let tdll = (*String.trim*) dll in
+ (* Guard against any risk of stray \r characters *)
1223
+ let tdll = String.trim dll in
1224
if OpamString.ends_with ~suffix:"cygwin1.dll" tdll then
1225
if OpamString.starts_with ~prefix:" " dll then
1226
check_dll `Cygwin
0 commit comments