[Omake] SVN Commit: OMake Build System [0.9.8.x] (Rev. 9807)

Aleksey Nogin nogin at metaprl.org
Mon Dec 4 14:41:09 PST 2006


Module name: OMake Build System [0.9.8.x]
Changes by: nogin at metaprl.org (Aleksey Nogin)
Date: 2006-12-04 14:41:09 -0800 (Mon, 04 Dec 2006)
Revision: 9807
Log message:
      Fixed a nasty Windows-specific bug - the Omake_exec_local module used a _global_ buffer for processing the stdout/stderr of all the threads. As a result, when running with -j on Windows, the outputs of different threads would often be intermingled and corrupted! In particular, when running with -j, the scanners that use Shell. functions for postprocessing would result in weirdly corrupted .deps file where part of the correct output is replaced with the output of a different scanner!
      
      Took me quite a while to figure this out, but now the -j seems to be working OK on Windows.
      
      P.S. This bug was also present in 0.9.6.9 and probably in (much?) earlier versions as well.
Changes:
    +1 -1	omake-branches/0.9.8.x/Makefile.nt
    +8 -7	omake-branches/0.9.8.x/src/build/omake_build.ml
    +2 -2	omake-branches/0.9.8.x/src/clib/omake_shell_sys.c
    +13 -11	omake-branches/0.9.8.x/src/exec/omake_exec_local.ml
    +18 -18	omake-branches/0.9.8.x/src/exec/omake_exec_util.ml
 
----
A hyperlinked version of this commit is available at
http://svn.metaprl.org/commitlogs/omake/2006-12.html#06/12/04.14:41:09



More information about the OMake-CVS mailing list