Findfirst/findclose: if findfirst fails with error on handle, findclose should not be called.
Original Reporter info from Mantis: Thaddy
-
Reporter name: Thaddy de Koning
Original Reporter info from Mantis: Thaddy
- Reporter name: Thaddy de Koning
Description:
Findfirst/findclose: if findfirst fails with error on handle, findclose should not be called. This is even dangerous depending on platform.
If FindFirst fails because the handle is invalid, Calling Findclose can cause undertermined behavior....
So it should be documented that the call on findfirst should determine a valid handle first, even if there is nothing to be found with a valid handle.
Mantis conversion info:
- Mantis ID: 32012
- OS: all
- OS Build: all
- Build: all
- Platform: all
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 36510
- Target version: 3.0.4