Can not open the same file twice
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
If you want to open a file (text file or any other file) twice, reset will complain and return error 5 : file access denied! This behaviour is not found on Linux but under the same machine, with visual C++ it is possible to open the file twice with the restriction of read only for the second.
Here is the execution message
C:\Mazen\FPC\Demo>fpc -l test
Free Pascal Compiler version 1.1 [2001/07/26] for i386
Copyright (c) 1993-2000 by Florian Klaempfl
C:\Mazen\FPC\Demo>test
F1 was assigned and opened
Runtime error 5 at 0x00401093
0x00401093
0x0040BE32
C:\Mazen\FPC\Demo>
Additional information:
Reporter: Mazen NEIFER
EMail: mazen dot neifer dot 2001 at supaero dot fr
Mantis conversion info:
- Mantis ID: 3592
- OS: WIN32
- Fixed in version: N/A