But what if it was the first entry in the root directory? Then the "new_diroff++" in dir_read() will make it -1!
remove_lfn_entries() checks for fnp->f_diroff == 0. The first entry can't have any LFN entries connected to it.
Of course! I should have seen that. This is so for lfn_dir_read() too.
I wanted to ask you one more question: chario.c:read_line_handle() calls echo_char(LF, sft_idx) - doesn't this write the LF to the file being read?
Thanks for the 240 more low memory bytes, by the way! ;-)
Lucho
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel