From owner-cvs-all Fri Apr 5 6: 1:45 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 014FB37B43C; Fri, 5 Apr 2002 06:01:06 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g35E14J92078; Fri, 5 Apr 2002 06:01:04 -0800 (PST) (envelope-from bde) Message-Id: <200204051401.g35E14J92078@freefall.freebsd.org> From: Bruce Evans Date: Fri, 5 Apr 2002 06:01:04 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/msdosfs msdosfs_vnops.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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