Error 2863 IS NOT a bug!!!
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
Hi! The bug ID 2863 (http://www.freepascal.org/bugs/showrec.php3?ID=2863) IS NOT a bug, because the DOS's "Rename" does a file move if destination and source directory aren't equal (It's a detail from DOS programming and not a FPC bug): That explains your file move, and DOS gives error 17 if source and destination ARE in different drive letters (That explains also your RTE 17 in your program). Test it under BP7 and you'll get the same error.
Note: Neither BP7 help nor FPC help doesn't mention this fact, but it could be indicated in future FPC releases to avoid confusion with these details.
Thanks in advance, and greetings from Argentina.
Nicolás.
Additional information:
Reporter: Nicolas Rozas Salgado
EMail: nrs_arg (at) yahoo (dot) com (dot) ar
Mantis conversion info:
- Mantis ID: 4885
- OS: All
- Version: 1.0.10
- Fixed in version: 1.9.9