K 10 svn:author V 7 delphij K 8 svn:date V 27 2004-10-13T16:28:40.000000Z K 7 svn:log V 635 MFC revision 1.41 date: 2004/09/08 11:25:41; author: tjr; state: Exp; lines: +18 -3 Merge from NetBSD: 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. Approved by: re (scottl) Approved by: murray (mentor) END