From owner-cvs-src@FreeBSD.ORG Mon Aug 14 12:39:09 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A18116A4E2; Mon, 14 Aug 2006 12:39:09 +0000 (UTC) (envelope-from dmitry@atlantis.dp.ua) Received: from postman.atlantis.dp.ua (postman.atlantis.dp.ua [193.108.47.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF7AF43D53; Mon, 14 Aug 2006 12:38:54 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from smtp.atlantis.dp.ua (smtp.atlantis.dp.ua [193.108.46.231]) by postman.atlantis.dp.ua (8.13.1/8.13.1) with ESMTP id k7ECchur048413; Mon, 14 Aug 2006 15:38:45 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Date: Mon, 14 Aug 2006 15:38:43 +0300 (EEST) From: Dmitry Pryanishnikov To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= In-Reply-To: <864pwfwpnm.fsf@xps.des.no> Message-ID: <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> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: src-committers@freebsd.org, Alexander Leidinger , cvs-src@freebsd.org, cvs-all@freebsd.org, Ruslan Ermilov , Kris Kennaway Subject: Re: cvs commit: src ObsoleteFiles.inc X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 12:39:09 -0000 Hello! 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. It doesn't change the file's last modification time for me using /bin/sh: # 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 So ':>>${FILE}' isn't the same as 'touch ${FILE}' for existing files. Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE