> On May 24, 6:58pm, Arun Sharma wrote:
> } Subject: Re: file creation times ?
> } On Thu, May 25, 2000 at 11:03:38AM +1000, Peter Jeremy wrote:
> } > To put it another way, why _should_ FreeBSD store a file creation time?
> }
> } 0. I'm tired of seeing people putting "Created: mm/dd/yy" in their documents.
>
> When saving a document to "file", many editors will do the equivalent of
> save document to "file.new"
> ln "file" "file.bak"
> mv "file.new" "file"
[.....]
Such editors are broken. What if the file is a symlink ? IMHO
open() write() write() write() ftruncate() close() is the only way.
--
Brian <[EMAIL PROTECTED]> <brian@[uk.]FreeBSD.org>
<http://www.Awfulhak.org> <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message