Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2000 10:27:02 +0200
From:      sthaug@nethelp.no
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 ? 
Message-ID:  <47680.959329622@verdi.nethelp.no>
In-Reply-To: Your message of "Fri, 26 May 2000 08:00:55 %2B0100"
References:  <200005260700.IAA00435@hak.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47680.959329622>