Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2002 06:01:04 -0800 (PST)
From:      Bruce Evans <bde@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/fs/msdosfs msdosfs_vnops.c
Message-ID:  <200204051401.g35E14J92078@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         2002/04/05 06:01:04 PST

  Modified files:
    sys/fs/msdosfs       msdosfs_vnops.c 
  Log:
  Fixed a very old bug in setting timestamps using utimes(2) on msdosfs
  files.  We didn't clear the update marks when we set the times, so
  some of the settings were sometimes clobbered with the current time a
  little later.  This caused cp -p even by root to almost always fail
  to preserve any times despite not reporting any errors in attempting
  to preserve them.
  
  Don't forget to set the archive attribute when we set the read-only
  attribute.  We should only set the archive attribute if we actually
  change something, but we mostly don't bother avoiding setting it
  elsewhere, so don't bother here yet.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.119     +11 -4     src/sys/fs/msdosfs/msdosfs_vnops.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204051401.g35E14J92078>