Subj : A couple of questions
To : All
From :
[email protected]
Date : Tue Apr 09 2024 11:53 am
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!weretis.net!feeder8.news.weretis.net!3.eu.feeder.erje.net!feeder.erje.net!npeer.as286.net!npeer-ng0.as286.net!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx14.iad.POSTED!not-for-mail
From: "Digital Man" <
[email protected]>
Subject: A couple of questions
Message-ID: <
[email protected]>
X-Comment-To: Nightfox
Organization: Vertrauen
Newsgroups: alt.bbs.synchronet
In-Reply-To: <
[email protected]>
References: <
[email protected]>
X-FTN-PID: Synchronet 3.20a-Win32 master/8108e0cd9 Apr 08 202 MSC 1916
X-FTN-MSGID: 51566.sync@1:103/705 2a7b7ffa
X-FTN-REPLY: 51563.sync@1:103/705 2a7ac952
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
X-Gateway: vert.synchro.net [Synchronet 3.20a-Linux NewsLink 1.114]
Lines: 33
X-Complaints-To:
https://www.astraweb.com/aup
NNTP-Posting-Date: Tue, 09 Apr 2024 17:53:18 UTC
Date: Tue, 9 Apr 2024 10:53:16 -0700
X-Received-Bytes: 2481
Xref: news.eternal-september.org alt.bbs.synchronet:39191
To: Nightfox
Re: A couple of questions
By: Nightfox to Digital Man on Mon Apr 08 2024 09:47 pm
> Re: A couple of questions
> By: Digital Man to apam on Mon Apr 08 2024 08:16 pm
>
> >> 1) How long do files stay "new"?
>
> DM> I don't know about DD mods, but normally files are "new" when their
> DM> upload date/time is newer than the user's last logoff time.
>
> I have my ddfilelister set up as a loadable module. When doing a new file
> scan, I've noticed my file lister is executed for each sub-board, and the
> sub-board code is passed in and the scan mode is passed in via argv. When
> doing a new file scan, I've been checking bbs.new_file_time. It seems I
> could set bbs.new_file_time to the current time when it's done, but that
> would mean when ddfilelister is executed for the next file directory, it
> won't list any new files because bbs.new_file_time would have been set to
> the current date/time.
>
> So, I don't know if it should be ddfilelister's responsibility to update
> bbs.new_file_time or not?
No, it is not your module's responsibility to update bbs.new_file_time.
--
digital man (rob)
Synchronet "Real Fact" #86:
Stephen and Rob have a fledgling podcast at
http://techdorks.net (also iTunes)
Norco, CA WX: 72.4�F, 18.0% humidity, 7 mph W wind, 0.00 inches rain/24hrs
--- Synchronet 3.20a-Linux NewsLink 1.114
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
* Origin: Joe's BBS (1:342/200)