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

The behavior of formats in printf changed #6447

Closed
vicuna opened this issue Jun 2, 2014 · 1 comment
Closed

The behavior of formats in printf changed #6447

vicuna opened this issue Jun 2, 2014 · 1 comment
Assignees

Comments

@vicuna
Copy link

vicuna commented Jun 2, 2014

Original bug ID: 6447
Reporter: clarus
Assigned to: @gasche
Status: closed (set by @xavierleroy on 2015-12-11T18:27:55Z)
Resolution: fixed
Priority: normal
Severity: minor
Platform: x86-64bits
OS: Linux
OS Version: Ubuntu 14.04
Category: standard library
Has duplicate: #6431

Bug description

This code was compiling in OCaml 4.01 but not in 4.02:

Printf.printf "%.2x" 12

(even if in stdlib/camlinternalFormat.ml the flag legacy_behavior is set to true)

@vicuna
Copy link
Author

vicuna commented Jun 4, 2014

Comment author: bvaugon

Equivalent to (closed to be fixed) bug report #6431.

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

No branches or pull requests

2 participants