Date: Mon, 14 Aug 2006 17:02:33 +0400 From: Ruslan Ermilov <ru@freebsd.org> To: Dmitry Pryanishnikov <dmitry@atlantis.dp.ua> Cc: src-committers@freebsd.org, Alexander Leidinger <netchild@freebsd.org>, cvs-src@freebsd.org, cvs-all@freebsd.org, Kris Kennaway <kris@obsecurity.org>, Dag-Erling Sm?rgrav <des@des.no> Subject: Re: cvs commit: src ObsoleteFiles.inc Message-ID: <20060814130233.GB60989@rambler-co.ru> In-Reply-To: <20060814153428.G28464@atlantis.atlantis.dp.ua> References: <200608101942.k7AJgOrB051336@repoman.freebsd.org> <20060811235619.G93570@atlantis.atlantis.dp.ua> <20060811220244.GC5237@rambler-co.ru> <20060811223642.GA21117@xor.obsecurity.org> <20060812005213.384b744b@Magellan.Leidinger.net> <20060812084253.GA8597@rambler-co.ru> <20060812123531.GA36569@xor.obsecurity.org> <20060813185551.GA15783@rambler-co.ru> <864pwfwpnm.fsf@xps.des.no> <20060814153428.G28464@atlantis.atlantis.dp.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
--7iMSBzlTiPOCCT2k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 14, 2006 at 03:38:43PM +0300, Dmitry Pryanishnikov wrote: >=20 > Hello! >=20 > On Mon, 14 Aug 2006, Dag-Erling Sm?rgrav wrote: > >BTW, if you just need to ensure that a file exists, a safe alternative > >to 'touch ${FILE}' is ':>>${FILE}'. Makefiles in src/sys/modules > >which use touch should probably be updated to use this instead. >=20 > It doesn't change the file's last modification time for me using /bin/sh: >=20 > # uname -r > 6.1-RELEASE > # ls -l aaa > -rw-r--r-- 1 root wheel 512 Jul 18 17:00 aaa > # :>>aaa > # ls -l aaa > -rw-r--r-- 1 root wheel 512 Jul 18 17:00 aaa > # date > Mon Aug 14 15:35:23 EEST 2006 >=20 > So ':>>${FILE}' isn't the same as 'touch ${FILE}' for existing files. >=20 Right, I backed the changes out. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --7iMSBzlTiPOCCT2k Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE4HRpqRfpzJluFF4RAmJ/AJ4+mtm+WeJ1b/Kk2uAIV7dvsb2j1ACeJR2z 7VooafqNHNLTfG51VAnGgvs= =Yx0M -----END PGP SIGNATURE----- --7iMSBzlTiPOCCT2k--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060814130233.GB60989>