File needs to be closed on Windows but not on Posix, bug?

Jesse Phillips via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jul 7 07:18:51 PDT 2014


On Monday, 7 July 2014 at 12:00:48 UTC, Regan Heath wrote:
> But!  I agree with Adam, leave it as a thin wrapper.  Being a 
> windows programmer by trade I would expect the remove to fail, 
> I would not expect all my files to be opened with delete 
> sharing enabled by default.
>
> R

And I believe behavior is still different. In Linux an open file 
can be accessed even after a delete operation (unlink). But in 
Windows is that possible?


More information about the Digitalmars-d-learn mailing list