9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] create() and mtime
@ 2003-10-22 17:46 Fco.J.Ballesteros
  2003-10-22 18:06 ` rob pike, esq.
  0 siblings, 1 reply; 4+ messages in thread
From: Fco.J.Ballesteros @ 2003-10-22 17:46 UTC (permalink / raw)
  To: 9fans

It looks like a create of an existing file is not updating mtime. As a result
news prints old news because the mtime of $home/lib/newstime gets fixed to
the actual creation (not truncation) time.


I changed
create(newstime)

to
remove(newstime)
create(newstime)

in our news program, but that's  probably wrong.

BTW, the file server where newstime lives on in fossil backed up by venti.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-10-23 10:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-22 17:46 [9fans] create() and mtime Fco.J.Ballesteros
2003-10-22 18:06 ` rob pike, esq.
2003-10-22 18:56   ` jmk
2003-10-23 10:38     ` Fco.J.Ballesteros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).