Hi, Lucho pointed out that DELTREE got error 5 because it had
code which does "if OEM ID is 0FDh and CX is 0 or -1, then
explicitly exclude the DIR attribute when resetting file attribs
in preparation of deletion". This code is triggered by 2035a as
it sets CX to 0, which is needed by 32RTM DOS extender. The -1
value marked VERY old DOS-C / FreeDOS kernels which needed the
special DELTREE behaviour to avoid directories becoming files
(oops)...

The solution is two-part: The http://fdos.org/kernel/ page has
kernels which ignore dir attribute access when you change file
attributes (although it is common and okay to just respond with
error 5, as 2035a does), and I have a patched version of DELTREE
(which also is a bit smaller, less than 3 kB UPXed) which works
with kernel 2035a. No reply from Raster about it yet, strange...

http://www.coli.uni-sb.de/~eric/deltree-1.02f.zip

(temporary location)

Eric



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to