Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 11/05/1999 13:33:22
Module Name:	syssrc
Committed By:	jdolecek
Date:		Fri Nov  5 21:33:22 UTC 1999

Modified Files:
	syssrc/sys/msdosfs: msdosfs_lookup.c

Log Message:
Fix a problem in previous: we can't blindly assume that we have
wincnt entries available at the offset the file has been found. If the dos
directory entry is not preceded by appropriate number of long name
entries (happens e.g. when the filesystem is corrupted, or when
the filename complies to DOS rules and doesn't use any long name entry),
we would overwrite random directory entries.

There are still some problems, the whole thing has to be revisited and solved
right.


To generate a diff of this commit:
cvs rdiff -r1.43 -r1.44 syssrc/sys/msdosfs/msdosfs_lookup.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.