Skip to content
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

Fix Lwt_fmt.stderr to actually point to stderr instead of stdout (#850) #852

Merged
merged 1 commit into from
Apr 30, 2021

Conversation

vog
Copy link
Contributor

@vog vog commented Apr 21, 2021

Fix Lwt_fmt.stderr to actually point to stderr instead of stdout.

This fixes #850.

Copy link
Member

@Drup Drup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

(I'm slightly ashamed 🥺)

Maybe add a test ?

@raphael-proust
Copy link
Collaborator

Maybe add a test ?

A test might be good, but it's not obvious how to add it. The only tests that touch stdout/stderr are for Lwt_io and they are tests for servers and connections.

I'd be ok merging this without a test. I'll leave this open for now so the discussion can continue for a bit on that topic.

@raphael-proust
Copy link
Collaborator

If you have the time, can you add the following diff? (I couldn't push to your repo/branch directly.) If not it's ok, I'll add it when doing the release.

diff --git a/CHANGES b/CHANGES
index 67f9ad454..aa7540df0 100644
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,10 @@

   * Lwt_seq: a Seq-like data-structure with Lwt delayed nodes (#836, Zach Shipko).

+====== Bugfixes ======
+
+  * Fix Lwt_fmt.stderr to actually point to stderr (#852, #850, Volker Diels-Grabsch).
+
 ===== 5.4.0 (2020-12-16) =====

 ====== Installability ======

@vog
Copy link
Contributor Author

vog commented Apr 26, 2021

Will there be an immediate bugfix release of Lwt as soon as this fix ran successfully through CI/CD, or do you collect for fixes before releasing? In the latter case: When will the schedule for the next bugfix release?

@raphael-proust
Copy link
Collaborator

I'm tempted to make a bugfix release for that. I'll check with the other maintainers and come back to you.

@avsm
Copy link
Collaborator

avsm commented Apr 28, 2021

Agreed, let's do a bugfix release for this.

@raphael-proust raphael-proust merged commit 2685ce0 into ocsigen:master Apr 30, 2021
@raphael-proust
Copy link
Collaborator

I'll make the release this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lwt_fmt.eprintf prints to stdout instead of stderr
4 participants