[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [leafnode-list] Local newsgroups possible with leafnode-2.0b7 ?
Stefan Wiens wrote:
> krasel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx (Cornelius Krasel) writes:
>
> > if ( !stat( ".", &st ) ) {
> > mtime_dir = st.st_mtime;
> > if ( !stat(".overview", &st) && (st.st_atime > mtime_dir) ) {
> > return 1;
> > }
> > }
>
> I'm afraid this will fail if the directory has changed in between and
> another process has later read the updated .overview file.
I don't understand - please explain again for dummies :-(
--Cornelius.
--
/* Cornelius Krasel, U Wuerzburg, Dept. of Pharmacology, Versbacher Str. 9 */
/* D-97078 Wuerzburg, Germany email: krasel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* "Science is the game we play with God to find out what His rules are." */
--
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list