2002-05-08 Mike Gray <mikeg@mikegray.org>
authorMike Gray <mikegray@mono-cvs.ximian.com>
Wed, 8 May 2002 08:12:55 +0000 (08:12 -0000)
committerMike Gray <mikegray@mono-cvs.ximian.com>
Wed, 8 May 2002 08:12:55 +0000 (08:12 -0000)
* File.cs: According to ECMA spec and MS docs Copy(src, dest)
        should not overwrite dest by default.

svn path=/trunk/mcs/; revision=4407

mcs/class/corlib/System.IO/ChangeLog
mcs/class/corlib/System.IO/File.cs

index 30bdfec4e89b5d2fa6e7341559bb68e5f9b7322f..3c841241af5c0642ffba426daec7cf4bee1ada03 100644 (file)
@@ -1,3 +1,8 @@
+2002-05-08  Mike Gray     <mikeg@mikegray.org>
+
+       * File.cs: According to ECMA spec and MS docs Copy(src, dest)
+        should not overwrite dest by default.
+
 2002-05-08  Nick Drochak  <ndrochak@gol.com>
 
        * StreamWriter.cs: Add paramter check to constructors and throw
index 9cdb58390a8ac91a3469bed243260d00f6107aaa..e2608e10821649e5f0dee08798f9c8f28acbb16a 100644 (file)
@@ -29,7 +29,7 @@ namespace System.IO
                 \r
                public static void Copy (string sourceFilename, string destFilename)\r
                {\r
-                       Copy (sourceFilename, destFilename, true);\r
+                       Copy (sourceFilename, destFilename, false);\r
                }\r
                 \r
                public static void Copy (string src, string dest, bool overwrite)\r