[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help! Filetype $00 problems . . .



kws@delphi.com wrote:

:>Trivia: for some reason ProDOS 8 was written so that it won't even let you 
:>rename an extended file, even though that operation is independent of the file
:>structure. Naturally deleting and copying are out of the question as well.
:  
: There is a tech note about this.  ProDOS can't use up vast quantities
: of memory, as some OSes do.  Renaming a forked file shouldn't require
: much extra code, but if you can rename it, why not read it, write it,
: and create it, all of which *would* require extra code.  Not allowing
: renaming is absolutely stupid, though.  Consistent, but stupid.

Huh? If anything disallowing renaming extended files would take more code
than allowing it. There is nothing about the filename field in a directory
entry that's different from any other file. They had to put code in to check
the storage type and disallow renaming an extended file while allowing
it would mean simply doing the rename as with any other file.
-- 
Offsite mail to this host gets nuked.