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

ocamlbuild -clean does not print a newline after output #6652

vicuna opened this issue Nov 10, 2014 · 2 comments


None yet
1 participant
Copy link

commented Nov 10, 2014

Original bug ID: 6652
Reporter: mcc
Status: closed (set by @damiendoligez on 2015-03-27T21:55:53Z)
Resolution: fixed
Priority: low
Severity: text
Platform: MacPorts
OS: Mac OS X
OS Version: 10.6.8
Version: 4.02.1
Target version: 4.02.2+dev / +rc1
Fixed in version: 4.02.2+dev / +rc1
Category: -for ocamlbuild use
Tags: junior_job
Monitored by: @whitequark @gasche @hcarty

Bug description

For most ocamlbuild lines, a newline is printed after the output, as is normal for UNIX tools.
For -clean, there is no newline after the output. I see:

andis-macbook:emily-objc mcc$ ocamlbuild -clean
Finished, 0 targets (0 cached) in 00:00:00.
00:00:00 0 (0 ) STARTING -------- |a
ndis-macbook:emily-objc mcc$

Notice one letter of my prompt cutting into the output. Regardless of how wide I make the letter it's always one letter.

Steps to reproduce

ocamlbuild -clean

works in any directory

Additional information

The user "whitequark" on the ocaml IRC reports seeing the same behavior, in Debian, in Konsole.

File attachments


This comment has been minimized.

Copy link

commented Nov 10, 2014

Comment author: mcc

PS: I saw this in the standard OS X "Terminal" app.


This comment has been minimized.

Copy link

commented Mar 27, 2015

Comment author: @damiendoligez

Fixed in 4.02 branch (rev 15973).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.