> Viktor,
> 
> another idea could be to open the source file in FO_DENYWRITE mode, so that
> the open of the destination file fails while I can still read it from a
> different process.
> 
> BTW, given that I'm going to copy the source somewhere the assurance that
> nobody changes it while I'm copying it could be a good thing.
> 
> What do you think about this?

I intentionally used shared mode, otherwise it's not possible 
to copy files which are open for writing f.e. in Windows. Plus 
I'm not sure such mode would be a guarantee on all platforms/filesystems.

We can do this as a last resort.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to