Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-02-16 07:21:23

On Thursday 16 February 2006 14:55, Mark Evans wrote:
> Yesterday, I stumbled on a problem where rule MkDir1 tried and failed to
> create a directory that already existed. This was in trying to build a
> library with toolset gcc with os = CYGWIN after having built it with other
> toolsets. I don't know what I did, but not I cannot replicate the problem
> this morning. Must be change in the phase of the moon.

I recall there were issue because /cygdrive on Cygwin is accessible, but is
not shown when you list content of /. But I that that's fixed.
And there were issue because on Cygwin such special files like /cygdrive have
'0' is modification time, but that's fixed too. I guess it's another cygwin
moon-phase related quirk.

> Nevertheless,
> would it hurt to add a defensive -p flag to mkdir in tools/common.jam so
> that it won't fail when it mistakenly tries to create a directory that
> already exists? I recall someone complaining about this with Perforce
> jam.

This won't work in Windows shell, IIRC.

- Volodya

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at