[comp.sys.amiga] Bug in TxEd Plus found

blgardne@esunix.UUCP (Blaine Gardner) (11/11/88)

I've found the reason that TxEd Plus was saving changed files under the
name "TxEd.Temp" instead of the original filename.

When TxEd saves a file, it renames the old version to ":T/TxEd.Backup",
then saves the changed file under the old filename ("Startup-Sequence"
in my case). 

If the original file is protected from deletion, when TxEd renames it to
":T/TxEd.Backup" the backup file is also now protected from deletion.
The next time a file is saved, TxEd cannot overwrite the old backup file
and instead of changing the original, the changed file is saved to
"TxEd.Temp" in the current directory.

I suppose that avoiding changes to the original when the backup can't be
made is a good idea, but NO error was reported. At the very least, TxEd
should report the error condition, and ideally it should clear the
deletion bit so that the error does not occur.

I would appreciate it if someone (Chuck?) would pass this on to Charlie
Heath on BIX.


(PS to Chuck: Thanks for the quick answer about BlitzDisk and the FFS.)
-- 
Blaine Gardner @ Evans & Sutherland    580 Arapeen Drive, SLC, Utah 84108
Here: utah-cs!esunix!blgardne   {ucbvax,allegra,decvax}!decwrl!esunix!blgardne
There: uunet!iconsys!caeco!pedro!worsel!blaine (under construction)
"Nobody will ever need more than 64K."    "Nobody needs multitasking on a PC."