[net.micro.pc] bug in MSDOS 'delete file'

apratt@iuvax.UUCP (01/10/84)

#N:iuvax:1500003:000:1024
iuvax!apratt    Jan 10 04:36:00 1984

Incidentally (and I should have included this in my previous posting), the
BDOS "delete file" function DOES NOT WORK for files with the "label" attribute.
That is, if you pass a pointer to an extended FCB, with the label attribute
set and the file name all question marks, you would expect BDOS to remove the
volume label from the directory. It does, but it also crashes the FAT, and is
therefore not advisable.
	Seems somebody didn't read the specs on the attribute byte. I don't
have the book in front of me, but I remember the phrase pretty well: "If the
LABEL attribute bit is set, the next eleven bytes contain the volume label of
the disk. This can only appear in the root directory, and the directory entry
contains no other information." Specifically, the pointer to the file's
allocation list is NOT valid, but the DELETE FILE function thinks it is.
	This is just for your general information. I wonder if anybody at IBM
or MicroSoft reads this newsgroup...?
						-- Allan Pratt
					...decvax!ihnp4!iuvax!apratt