> > > 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, [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message