[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trailing slashes problem



Could you please try to give more information about the context of the
crash?  You could redirect the debugging output to a printer
(Ctrl-Alt-F3 or DEBUG_DEVNO=0 in mint.cnf).

There is one problem with the patch in tosfs.c, that Dsetpath("dir\\")
fails on a GEMDOS filesystem (i.e. FS_KNOPARSE).  This is due to the
way the path name is parsed.  With the patch the trailing slash is
stored with the full pathname, and Fsfirst in tos_lookup fails.  I
think it's best to revert the change in tosfs.c.  The change in
filesys.c seems to be ok, on the other filesystems Dsetpath("dir\\")
works.

The reasoning behind the patch is that Fopen("notdir\\") should fail
as it does without MiNT, but this is currently not the case, since the
file name parsing functions always strip trailing slashes.

I don't think that the change in filesys.c is responsible for the
crash.  Could you please try again, but without the change in tosfs.c?

Andreas.