Process B did open that file in "READ ONLY" mode and it can not close
this file properly since it was open to "write in" by another
process.
There is no such sort of protection under UNIX though.
>
> However, this does _not_ work. Even after closing the mapfile object
> which performs the read (the docs say not to delete the object!) i
> am unable to recreate it -- the error is:
> Error in <TMapFile::TMapFile>: file c:\AtoB.map already exists
>
> Is this a bug or feature?
I'll try to clarify this in a couple of days as soon as will be back
from
my trip.
But it could be a feature. UNIX system doesn't protect files (I mean
two
separate UNIX processes can open one and the same file to write in
easily.
It is not case under NT though.
With my best regards,
Valery
>
> Regards,
> Peter
>
> ---------------------------------------------------------------------------
> Peter Steinberg, Columbia University mailto:Peter.Steinberg@Cern.ch
> Nevis Laboratories + http://www.nevis.columbia.edu/~steinber
> P.O. Box 137 _ O _ Home Phone: (212) 678-5971
> (or 136 South Broadway) ( `-|-' ) Nevis: (914) 591-2817 (fax 8120)
> Irvington, NY 10533 _+|+_/ Campus: (212) 854-4653
> ----- PCS: (917) 549-3094
> BNL: (516) 344-7843
> ---------------------------------------------------------------------------