On Wed, Sep 30, 2009 at 9:40 PM, Pritpal Bedi <bediprit...@hotmail.com> wrote: > It means DbDrop() only removes file entry from the directory > but does nothing with file contents. Am I right ? > OR if DbCloseArea() is issued prior to calling DbDrop(), it > removes the file entry as well as file contents. > > To me it appears logical that DbDrop() must never be succeeded > unless file is closed, just like a disk file.
What you describe is Windows-only behavior. Under Unix you can unlink any file from a directory you have write permissions on, even if the file is open. When the file is actually closed, the number of references to it becomes 0 and the file content is reclaimed. -- Ph. _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour