From owner-freebsd-hackers Fri May 26 1:27:10 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (Postfix) with SMTP id E7D1A37BEF7 for ; Fri, 26 May 2000 01:27:03 -0700 (PDT) (envelope-from sthaug@nethelp.no) Received: (qmail 47682 invoked by uid 1001); 26 May 2000 08:27:02 +0000 (GMT) To: brian@Awfulhak.org Cc: 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 ? From: sthaug@nethelp.no In-Reply-To: Your message of "Fri, 26 May 2000 08:00:55 +0100" References: <200005260700.IAA00435@hak.lan.Awfulhak.org> X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Fri, 26 May 2000 10:27:02 +0200 Message-ID: <47680.959329622@verdi.nethelp.no> 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). emacs is of course much smarter, and it's also customizable. I was just reacting to the blanket statement that "open() write() write() write() ftruncate() close() is the only way". Steinar Haug, Nethelp consulting, sthaug@nethelp.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message