Re: [Freedos-devel] Porting the FAT filesystem (15)

2007-06-01 Thread Alain M.
Hi Enrico, I believe that you should take into account a very old dos problem (it happened to a few times in various MS-DOSes) some badly written program manages to write a file with true lower cases, it then becomes very difficult to delete it afterwards. I don't know how programs did manage

Re: [Freedos-devel] Porting the FAT filesystem (15)

2007-05-29 Thread enrico.migli...@libero.it
Hi Eric and Bart, yes, upcasing filenames in dos_open() is not a problem. I'll add that in my port. The port status is the following: 1. dos_open(), dos_close(), (*) dos_read(), (*) dos_write() work. I still need to write some more test cases, but I'm quite sure that the FAT calculations are

Re: [Freedos-devel] Porting the FAT filesystem (15)

2007-05-29 Thread Bart Oldeman
On 5/29/07, Eric Auer <[EMAIL PROTECTED]> wrote: > > there are no "toupper" or similar function calls from dos_open() > > down to exechr(). > > This is because the case (in) sensitivity handling happens in > DosOpenSft which in turn calls dos_open. So dos_open is one > step too "lowlevel" to be cas

Re: [Freedos-devel] Porting the FAT filesystem (15)

2007-05-29 Thread Eric Auer
Hi Enrico, > there are no "toupper" or similar function calls from dos_open() > down to exechr(). This is because the case (in) sensitivity handling happens in DosOpenSft which in turn calls dos_open. So dos_open is one step too "lowlevel" to be case insensitive. Other functions seem to call tru

Re: [Freedos-devel] Porting the FAT filesystem (15)

2007-05-29 Thread enrico.migli...@libero.it
Hi Eric, I did many debug sessions and that allowed me to study the filesystem code quite well: there are no "toupper" or similar function calls from dos_open() down to exechr(). Enrico > > Hi Enrico, > > > I noticed that in this version of FreeDOS, the function: > > Upmem (unsigned c

Re: [Freedos-devel] Porting the FAT filesystem (15)

2007-05-29 Thread Eric Auer
Hi Enrico, > I noticed that in this version of FreeDOS, the function: > Upmem (unsigned char* str, unsigned int len) > is missing and the filesystem seems case sensitive. > I indeed can't open an existing file, named "foo.txt", when I call: > dos_open ("Foo.txt,..,..); Interesting. There are

[Freedos-devel] Porting the FAT filesystem (15)

2007-05-28 Thread enrico.migli...@libero.it
Hi, I'm finally able to read files from my USB flash disk :-) I noticed that in this version of FreeDOS, the function: Upmem (unsigned char* str, unsigned int len) is missing and the filesystem seems case sensitive. I indeed can't open an existing file, named "foo.txt", when I call: dos_o