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 parsing of OCAMLRUNPARAM is too lax #6808

Closed
vicuna opened this issue Mar 11, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@vicuna
Copy link

commented Mar 11, 2015

Original bug ID: 6808
Reporter: @damiendoligez
Assigned to: @damiendoligez
Status: closed (set by @damiendoligez on 2016-03-23T10:03:24Z)
Resolution: fixed
Priority: low
Severity: tweak
Version: 4.02.1
Target version: 4.03.0+dev / +beta1
Fixed in version: 4.03.0+dev / +beta1
Category: runtime system and C interface
Monitored by: @hcarty

Bug description

consider the following command line:

OCAMLRUNPARAM=h=0xb0000a=1 ./a.out

It will run a.out with:

  • initial heap size set to 0xb0000a
  • backtraces enabled
  • first-fit allocation policy

Solution: demand that the options be separated by commas (which is what most users do already) and document the format more precisely.

@vicuna

This comment has been minimized.

Copy link
Author

commented May 4, 2015

Comment author: @damiendoligez

Fixed in trunk (rev 16074).

Keep this PR open as a reminder to update the LaTeX documentation.

@vicuna

This comment has been minimized.

Copy link
Author

commented Mar 23, 2016

Comment author: @damiendoligez

manual and man page updated

@vicuna vicuna closed this Mar 23, 2016

@vicuna vicuna added the stdlib label Mar 14, 2019

@vicuna vicuna added this to the 4.03.0 milestone Mar 14, 2019

@vicuna vicuna added the bug label Mar 20, 2019

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.