[jamming] Parallel jam invocations corrupt batch files under Windows

Peter Klotz peter.klotz at aon.at
Sun Feb 16 10:48:18 PST 2003


Jam 2.4 seems to write batch files under Windows that have a simple naming convention and are never deleted, just overwritten.

This leads to trouble when using several command shells, each executing jam (e.g. compiling two different programs at the same time on a dual processor machine).

The attached patch changes the naming convention by adding a random number and deleting the batch file when it is no longer needed.

Best regards, Peter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.perforce.com/pipermail/jamming/attachments/20030216/d2ba21c5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jam-2.4.winbat.patch
Type: application/octet-stream
Size: 867 bytes
Desc: not available
URL: <http://maillist.perforce.com/pipermail/jamming/attachments/20030216/d2ba21c5/attachment-0001.obj>


More information about the jamming mailing list