logo       

Re: renameFile in GHC 6.0 (Windows): msg#00027

lang.haskell.glasgow.bugs

Subject: Re: renameFile in GHC 6.0 (Windows)

Hi there,

thanks for pointing this one out -- the CVS version of renameFile now
behaves uniformly across platforms.

--sigbjorn

----- Original Message -----
From: "Ben Horsfall" <bhorsfall@xxxxxxxxxxxxxxx>
To: <glasgow-haskell-bugs@xxxxxxxxxxx>
Sent: Monday, July 07, 2003 21:48
Subject: renameFile in GHC 6.0 (Windows)


> I noticed that renameFile in the Directory module in GHC 6.0 on Windows
(NT 4
> Workstation; sorry, I didn't check the service pack) throws an error when
a
> file already exists in the new FilePath (sorry again, I can't remember the
> exact error). The Report (& GHC documentation) say that "If the new object
> already exists, it is atomically replaced by the old object", and that
> behaviour seems to be implemented correctly by GHC 6.0 on Linux.
>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise