cvs commit: fptools/libraries/base/System Directory.hs
fptools/libraries/base/System/Posix Internals.hs fptools/libraries/base/cb
its dirUtils.c fptools/libraries/base/include dirUtils.h
Simon Marlow
simonmar@microsoft.com
Wed, 16 Jul 2003 14:18:39 +0100
=20
> sof 2003/07/10 12:26:00 PDT
>=20
> Modified files:
> libraries/base/System Directory.hs=20
> libraries/base/System/Posix Internals.hs=20
> libraries/base/cbits dirUtils.c=20
> libraries/base/include dirUtils.h=20
> Log:
> For System.Directory.renameFile on Win32 platforms,=20
> implement the Haskell98
> semantics of replacing the target file if it already exists (i.e.,
> file/directory renaming is now done by=20
> dirUtils.c:__hscore_renameFile().)
> =20
> Document that System.Directory.renameDirectory will fail on=20
> Win32 boxes should
> the target directory exist.
> =20
> Merge to STABLE, I suppose.
You don't sound too sure about merging it, so I'm inclined to hold off
unless anyone thinks it's essential to have this fix in 6.0.1. It looks
like you can easily work around the bug by doing Directory.removeFile on
the target first.
Cheers,
Simon