Skip to content

Commit

Permalink
Merge pull request ocaml#4940 from rjbou/win-proc
Browse files Browse the repository at this point in the history
Windows: remove double printing on commands and their output
  • Loading branch information
rjbou committed Aug 8, 2022
1 parent 065aaa9 commit 3fa0019
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ are not marked). Those prefixed with "(+)" are new command/option (since
[#4978 @kit-ty-kate]
* Clearer error message if a command doesn't exist
[#4971 @kit-ty-kat - fix #4112]
* [BUG] Remove windows double printing on commands and their output
[#4940 @rjbou]
* Actually allow multiple state caches to co-exist
[#4934 @dra27 - actually fixes #4554]
* Update cold compiler to 4.13 to avoid issues with glibc 2.34 on Unix
Expand Down
4 changes: 2 additions & 2 deletions src/core/opamProcess.ml
Original file line number Diff line number Diff line change
Expand Up @@ -641,8 +641,8 @@ let exit_status p return =
if isset_verbose_f () then
stop_verbose_f ()
else if p.p_verbose then
(verbose_print_cmd p;
List.iter verbose_print_out stdout;
(List.iter verbose_print_out stdout;
if p.p_stdout <> p.p_stderr then
List.iter verbose_print_out stderr;
flush Stdlib.stdout);
let info =
Expand Down

0 comments on commit 3fa0019

Please sign in to comment.