Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/msdosfs Pull up revision 1.102 (via patch, requeste...



details:   https://anonhg.NetBSD.org/src/rev/9997389437a9
branches:  netbsd-1-4
changeset: 470837:9997389437a9
user:      he <he%NetBSD.org@localhost>
date:      Mon Jul 31 18:33:00 2000 +0000

description:
Pull up revision 1.102 (via patch, requested by jdolecek):
  Do not report archived files as having SF_ARCHIVED set, as the
  semantics between Unix and MS-DOS/Windows differ significantly
  on how to interpret this flag.  Fixes PR#8439.

diffstat:

 sys/msdosfs/msdosfs_vnops.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d473bd2cc116 -r 9997389437a9 sys/msdosfs/msdosfs_vnops.c
--- a/sys/msdosfs/msdosfs_vnops.c       Mon Jul 31 18:19:17 2000 +0000
+++ b/sys/msdosfs/msdosfs_vnops.c       Mon Jul 31 18:33:00 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msdosfs_vnops.c,v 1.79.2.9 2000/07/27 17:43:09 he Exp $        */
+/*     $NetBSD: msdosfs_vnops.c,v 1.79.2.10 2000/07/31 18:33:00 he Exp $       */
 
 /*-
  * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -334,7 +334,7 @@
        }
        vap->va_flags = 0;
        if ((dep->de_Attributes & ATTR_ARCHIVE) == 0)
-               vap->va_flags |= SF_ARCHIVED;
+               vap->va_mode |= S_ARCH1;
        vap->va_gen = 0;
        vap->va_blocksize = pmp->pm_bpcluster;
        vap->va_bytes =



Home | Main Index | Thread Index | Old Index