[armedbear-devel] win32 fix for TAGS ant target

Matt Seddon humdiddlydum at gmail.com
Fri Jul 16 22:47:58 UTC 2010


Before I can start actually fixing the TAGS target, I figured making it 
run under win32 at all would help :)

The problem is that with parallel="true", ant seems to send too many 
parameters to CreateProcess, which then sobs about error=87: the 
parameter is invalid.

The attached patch addresses this issue by specifying maxparallel to 
prevent argument list overflow, and appending the results to the TAGS 
file incrementally.  This results in two invokations to etags, rather 
than one.

Does this behave as expected for you Mark?

Cheers,
Matt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: win32-tags.diff
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20100716/0973f391/attachment.ksh>


More information about the armedbear-devel mailing list