From owner-freebsd-hackers Fri May 26 1:25: 2 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id 79A0F37B85D for ; Fri, 26 May 2000 01:24:57 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (hak.nat.Awfulhak.org [172.31.0.12]) by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id JAA40519; Fri, 26 May 2000 09:24:54 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id IAA00435; Fri, 26 May 2000 08:00:55 +0100 (BST) (envelope-from brian@Awfulhak.org) Message-Id: <200005260700.IAA00435@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: sthaug@nethelp.no Cc: brian@Awfulhak.org, Don.Lewis@tsc.tdk.com, adsharma@sharmas.dhs.org, peter.jeremy@ALCATEL.COM.AU, hackers@FreeBSD.org, brian@hak.lan.Awfulhak.org Subject: Re: file creation times ? In-Reply-To: Message from sthaug@nethelp.no of "Thu, 25 May 2000 20:37:22 +0200." <34805.959279842@verdi.nethelp.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 26 May 2000 08:00:55 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Such editors are broken. What if the file is a symlink ? IMHO > > open() write() write() write() ftruncate() close() is the only way. > > If that is the only way, then emacs is of course broken. (And I > disagree - I use emacs every day...) Now there's an argument waiting to happen :-) So if you create a file and make it writable by me and I edit it, it becomes mine ? Good ol' emacs ! I would guess that in real life it *must* be smart enough not to do this (I don't have access to emacs from here right now). > Steinar Haug, Nethelp consulting, sthaug@nethelp.no -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message