Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005937OCamlOCaml generalpublic2013-03-03 14:412013-08-06 11:11
Reporterelfring 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005937: Support for passing more parameters from external files
DescriptionA tool like "ocamldoc 3.12.1" expects so far that it gets some parameters passed on the command line. The command line length might be limited.
http://www.gnu.org/software/automake/manual/html_node/Length-Limitations.html [^]

I suggest to improve the way in which more data can be optionally passed by external files.
- Response files
- I am particularly interested in efficient data exchange for file names and paths from the tool "find" (and corresponding variants) which might be (temporarily) stored in other text files.

Which command option should indicate a switch to a different data source?
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0010105)
guesdon (manager)
2013-08-05 11:13

I put it in the "OCaml general" category, as ocamldoc is not the only tool of the suite who could be added such a command line option, and the code could obviously be shared among the various compilers and tools.
(0010108)
gasche (developer)
2013-08-05 11:25

Between 3.12 and 4.00 we went in the *other* direction: there was limited for response files for Windows and we removed it, feeling that command-line length limitations were large enough now for all relevant platforms that this cruft wasn't needed anymore -- removing code is one way to decrease maintenance costs.

It might be the case that a portable general-purpose mechanism for option-passing from a text-file could be useful for OCaml. You would have to propose very convincing use-cases for this to be considered for inclusion, though.
(0010114)
elfring (reporter)
2013-08-05 14:30

I would like to avoid line length limitations in a portable way. I would appreciate if it will become safer to pass a long list of file names also for OCaml commands.
(0010122)
ygrek (reporter)
2013-08-06 04:47

Do you really experience command line length limitation? Can you please share the details - what platform, which command?
(0010123)
elfring (reporter)
2013-08-06 11:11

How likely is it to keep file lists and corresponding parameters within bounds?

Do you care for the configuration setting "ARG_MAX"?
http://www.in-ulm.de/~mascheck/various/argmax/ [^]

- Issue History
Date Modified Username Field Change
2013-03-03 14:41 elfring New Issue
2013-03-03 14:41 elfring Status new => assigned
2013-03-03 14:41 elfring Assigned To => guesdon
2013-08-05 11:13 guesdon Note Added: 0010105
2013-08-05 11:13 guesdon Status assigned => acknowledged
2013-08-05 11:13 guesdon Category OCamldoc => OCaml general
2013-08-05 11:14 guesdon Assigned To guesdon =>
2013-08-05 11:25 gasche Note Added: 0010108
2013-08-05 14:30 elfring Note Added: 0010114
2013-08-06 04:47 ygrek Note Added: 0010122
2013-08-06 11:11 elfring Note Added: 0010123


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker