Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/msdosfs pullup rev. 102 from trunk (approved by tho...



details:   https://anonhg.NetBSD.org/src/rev/8493c4e2d09f
branches:  netbsd-1-5
changeset: 488818:8493c4e2d09f
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun Jul 30 21:01:48 2000 +0000

description:
pullup rev. 102 from trunk (approved by thorpej):
msdosfs_getattr(): don't treat archived files (those with ATTR_ARCHIVE
unset) as having flag SF_ARCHIVED on. This fixes bin/8439.

diffstat:

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

diffs (21 lines):

diff -r e42a044e4509 -r 8493c4e2d09f sys/msdosfs/msdosfs_vnops.c
--- a/sys/msdosfs/msdosfs_vnops.c       Sun Jul 30 20:38:33 2000 +0000
+++ b/sys/msdosfs/msdosfs_vnops.c       Sun Jul 30 21:01:48 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msdosfs_vnops.c,v 1.97.4.3 2000/07/30 20:38:34 jdolecek Exp $  */
+/*     $NetBSD: msdosfs_vnops.c,v 1.97.4.4 2000/07/30 21:01:48 jdolecek Exp $  */
 
 /*-
  * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -333,10 +333,8 @@
                vap->va_ctime = vap->va_mtime;
        }
        vap->va_flags = 0;
-       if ((dep->de_Attributes & ATTR_ARCHIVE) == 0) {
-               vap->va_flags |= SF_ARCHIVED;
+       if ((dep->de_Attributes & ATTR_ARCHIVE) == 0)
                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