On Wed, 13 Aug 2003, Alejandro N�stor Vargas wrote:
> On Wed, 13 Aug 2003 12:05:46 +0100 (BST), Bart Oldeman
> <[EMAIL PROTECTED]> wrote:
>
> > it's most likely a bug that was introduced in 1.1.5.5. I will
> > investigate and post a fix later.
>
> I was creating a test program and discovered that the problem is when you
> rename a file. The test programs are in
right, a fix for rename is this:
--- src/dosext/mfs/mfs.c~ Wed Aug 13 21:29:51 2003
+++ src/dosext/mfs/mfs.c Wed Aug 13 21:49:55 2003
@@ -3263,6 +3263,7 @@
bs_pos = strrchr(fpath, '/');
if (bs_pos == NULL)
bs_pos = fpath;
+ strlowerDOS(bs_pos);
strcpy(buf, bs_pos);
*bs_pos = EOS;
find_file(fpath, &st);
Not sure about mkdir though -- reading the source I'm convinced that it
should create the directory in lower case...
Bart
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html