Date : Sat, 07 Dec 1985 06:33:00 MST
From : Keith Petersen <W8SDZ@SIMTEL20.ARPA>
Subject: HELP w/ CP/M Directory trashing bug
Peter, CP/M is dumb when it comes to keeping directory entries. It
does not check to see if a file by that name already exists before
allowing you to create a new one. You as the user are expected to
check first to see if it exists, delete it if it does, then make the
new file. Otherwise you will end up with two or more files by the
same name.
Also make sure that you do a proper close on any open files
before exiting your program. Otherwise the directory will not be
updated and any pending characters in the deblocking buffer will not
be written to the file.
--Keith