Re: bug with CopyFile method

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Wed, 04 Apr 2007 09:23:14 +0200


Eric,

Are you sure that you do not have a typo in your CopyFile command? The source and destination file are the same. What do you expect in output? I checked that CopyFile works correctly on Windows.

Rene Brun

eric.houla_at_free.fr wrote:
> Hi,
>
> With Windows system, using root v5.14,
> when i do gSystem->CopyFile("test.txt", "test.txt", true);
> The new file test.txt is empty!
>
> Is it known ?
>
> Eric.
>
>
Received on Wed Apr 04 2007 - 09:23:19 CEST

This archive was generated by hypermail 2.2.0 : Wed Apr 04 2007 - 11:50:02 CEST