[project @ 2005-04-27 08:25:46 by simonmar]
authorsimonmar <unknown>
Wed, 27 Apr 2005 08:25:46 +0000 (08:25 +0000)
committersimonmar <unknown>
Wed, 27 Apr 2005 08:25:46 +0000 (08:25 +0000)
commita355262a94f6b3b98f67549078774fb7b09c1681
tree888e5a9ca23819d12b0d67ec523345d13eaf9fe2
parent68ded3edcf684c139629d1aa2a6a3faa7f0440ba
[project @ 2005-04-27 08:25:46 by simonmar]
newTempName: instead of bumping the processId until we find a name
that isn't used, add an integer suffix to the processId.  This should
prevent temp-file conflicts that appear to have been affecting our
nightly builds and occasionally make -j.

The right way to allocate a temporary file is to create it straight
away, but I'm not sure of the implications of passing existing
temporary files to the various sub-processes that GHC executes, hence
this fix instead.
ghc/compiler/main/SysTools.lhs