Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 07/30/2000 23:16:55
Module Name:	syssrc
Committed By:	jdolecek
Date:		Sun Jul 30 20:16:54 UTC 2000

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

Log Message:
msdosfs_getattr(): do not report archived files (those with ATTR_ARCHIVE unset)
as having flag SF_ARCHIVED on; this is wrong for directories, which don't
have any mode flags on msdosfs, so it's always treated as archived,
which leads to problems described in pr #8439. The semantics of the
archive flag differs between Unix and msdos/windoze, so it's better
to not set the flag at all even for regular files, to avoid surprises.

This fixes bin/8439 by Thomas Klausner.


To generate a diff of this commit:
cvs rdiff -r1.101 -r1.102 syssrc/sys/msdosfs/msdosfs_vnops.c

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