We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 83d02a9 + 3942bad commit fd9967eCopy full SHA for fd9967e
CHANGES.md
@@ -10,6 +10,7 @@
10
11
#### Fixed
12
13
+- Fix accidental redirect of stderr to stdout (#343, @Leonidas-from-XIV)
14
- Remove trailing whitespaces that were added to indent empty lines (#341, @gpetiot)
15
16
#### Removed
lib/top/mdx_top.ml
@@ -22,7 +22,7 @@ type directive = Directory of string | Load of string
22
23
let redirect ~f =
24
let stdout_backup = Unix.dup Unix.stdout in
25
- let stderr_backup = Unix.dup Unix.stdout in
+ let stderr_backup = Unix.dup Unix.stderr in
26
let filename = Filename.temp_file "ocaml-mdx" "stdout" in
27
let fd_out =
28
Unix.openfile filename Unix.[ O_WRONLY; O_CREAT; O_TRUNC ] 0o600
0 commit comments