Subject: Re: Is there some shape repository for dia ?
Date: Wed, 7 Aug 2002 09:39:01 +0200
On Wed, Aug 07, 2002 at 07:42:39AM +0200, Cyrille Chepelov wrote:
> Le Tue, Aug 06, 2002, ? 04:05:56PM -0500, Lars Clausen a écrit:
>
> > > (periodically stat'ing the sheets directory and the .sheet files should
> > > give a "good enough" awareness of changes, by the way).
> >
> > Except that we wouldn't know if the update was finished. If we start
> > reading too early it could lead to halfway updated sheets.
>
>
> Indeed.
Easy workaround is to download into some dir which is NOT monitored
and when the download is complete, move the sheet into the right place.
Since move is atomic operation, there won't be half-here/half-there
problems.
But IMHO a button or menu entry is much more practical
and transparent :)
Jarda Benkovsky
--
GCM/IT d- s:+ a- C++(+++) ULOI++++$ P++ L+++>++++ E+ W++
N w--- PS+ PE++ Y+ PGP R+ tv- b+++ D+ e+++ y+