[patch] "FileUtil.CopyFile", (better solution than last patch on Issue 21817)
Original Reporter info from Mantis: takeda99
-
Reporter name: Takeda Matsuki
Original Reporter info from Mantis: takeda99
- Reporter name: Takeda Matsuki
Description:
Well, Today, I change the default rules of FileUtil.CopyFile, even with this patch now, CopyFile has better solution to work with some cases (e.g. if the directory target doesn't exist). ;)
The latest patches (2012-04-25 CopyFile.Patch), would have better solution than the last one ( http://bugs.freepascal.org/view.php?id=21817 ). The demo screenshot and demo file were attached too.
Hope it would applied. ^^
This patch :
- Would check if file already exist or not.
- Would check if directory target already exists or not.
Regards,
takeda.
Mantis conversion info:
- Mantis ID: 21854
- Version: 1.1 (SVN)
- Fixed in revision: r37060 (#9fcb610a)