Bug 4930 – [patch] RDMD: Cmd line sent to dmd can be too long

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2010-09-23T20:32:00Z
Last change time
2015-06-09T05:11:48Z
Assigned to
andrei
Creator
bus_dbugzilla

Attachments

IDFilenameSummaryContent-TypeSize
771rdmd.d.patchPatch against rdmd r1400text/plain1479
773rdmdMultipleFixes.d.patchCombined patch for issues #4672, #4683, #4684, #4688, #4928, #4930text/plain8302

Comments

Comment #0 by bus_dbugzilla — 2010-09-23T20:32:42Z
Created attachment 771 Patch against rdmd r1400 If rdmd is compiling a program that has a lot of dependencies, such as ddmd, the command line sent to dmd can get too big for the shell/OS to handle, and compilation will not occur. The attached patch makes rdmd send args to dmd in a response file if the list of files gets too large.
Comment #1 by bus_dbugzilla — 2010-09-24T13:56:16Z
Created attachment 773 Combined patch for issues #4672, #4683, #4684, #4688, #4928, #4930 Combined patch for issues #4672, #4683, #4684, #4688, #4928, #4930
Comment #2 by andrei — 2011-05-14T16:44:51Z
Fixed in https://github.com/D-Programming-Language/tools/commit/27bb715ccb93d3dc27530b664f01904503c3153b. Beware, the combined patch has had a number of subtle bugs.