Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 02/12/2001 21:17:05
Module Name:	syssrc
Committed By:	jdolecek
Date:		Mon Feb 12 19:17:05 UTC 2001

Modified Files:
	syssrc/sys/ntfs: ntfs_subr.c

Log Message:
ntfs_ntlookupfile(): if the file is not found using normal scan, do full
  scan of all directory entries; the mangled file name we return to
  userland on getdents(2) may end up being unsearchable otherwise

This change is useful even through we will soon change to encode the
NTFS file names to utf-8 - we want to support recoding of filenames to
national 8bit charsets eventually.

while here, remove some unnecessary casts, change NTFS_U28() macro so that
the mangled filename doesn't contain control characters and use malloc()/free()
instead MALLOC()/FREE() for rdbuf buffer


To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 syssrc/sys/ntfs/ntfs_subr.c

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