Hi, please check
http://www.coli.uni-sb.de/~eric/stuff/soft/by-others/ freedos-share-04may2004.zip

I replaced the fprintf by write and turned SHARE.EXE into a 3k smaller SHARE.COM
... especially the memory footprint is 3k smaller now, too.

Even smaller would it be if the init part could be dropped from RAM, but this
is a tool which is written in C so I do not know how to implement that.

For default parameters (20*13bytes for lock areas, 2048 bytes for 136 byte sized
file descriptions) SHARE now uses 9.7k of RAM. Could be much less, compare to
MS SHARE.

Maybe somebody can help with this. And notice that MS are telling in KB
article KB161619 that SHARE is not compatible to FAT32 kernels. Maybe we
have to add something to our SHARE here. I think normal FAT16 compatible
file functions of DOS should cooperate with SHARE even for FAT32.

Eric.

PS: I hope SHARE still works properly after the change!



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to