[7526] in Athena Bugs

home help back first fref pref prev next nref lref last post

vax 7.2R: doswrite

daemon@ATHENA.MIT.EDU (Greg Jackson)
Tue May 7 16:14:45 1991

To: bugs@ATHENA.MIT.EDU
Date: Tue, 07 May 91 16:14:31 EDT
From: Greg Jackson <gjackson@ATHENA.MIT.EDU>

System name:		mystery
Type and version:	CVAXSTAR 7.2R
Display type:		SM

What were you trying to do?
	I was copying an email message to a 1.4 meg 3.5" floppy using
doswrite, inadvertently using the same filename as a file already on
the floppy  (both were named "11").

What's wrong:
	doswrite doesn't check to see whether a filename is already in
use on a floppy before it writes a file.  the result is two files with
the same name, a violation of DOS protocols which then makes the
(second) file impossible to read in most DOS applications.

What should have happened:
	doswrite should have reported "doswrite: file name already
used", or some such error message, or apply some standard renaming
algorithm to the file name (adding a ! to it, for example).

Please describe any relevant documentation references:
	documentation? for doswrite? surely you jest.

home help back first fref pref prev next nref lref last post