Subj : A couple of questions
To : All
From :
[email protected]
Date : Mon Apr 08 2024 10:47 pm
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!border-1.nntp.ord.giganews.com!nntp.giganews.com!npeer.as286.net!npeer-ng0.as286.net!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx48.iad.POSTED!not-for-mail
From: "Nightfox" <
[email protected]>
Subject: A couple of questions
Message-ID: <
[email protected]>
X-Comment-To: Digital Man
Organization: Digital Distortion
Newsgroups: alt.bbs.synchronet
In-Reply-To: <
[email protected]>
References: <
[email protected]>
X-FTN-PID: Synchronet 3.20a-Linux master/bf7728020 Apr 05 202 GCC 11.4.0
X-FTN-MSGID: 51563.sync@1:103/705 2a7ac952
X-FTN-REPLY: 51552.sync@1:103/705 2a7ab28a
X-FTN-CHRS: CP437 2
WhenImported: 20240408214746-0700 c1e0
WhenExported: 20240408215459-0700 c1e0
ExportedFrom: DIGDIST dove_sync 85656
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
X-Gateway: vert.synchro.net [Synchronet 3.20a-Linux NewsLink 1.114]
Lines: 19
X-Complaints-To:
https://www.astraweb.com/aup
NNTP-Posting-Date: Tue, 09 Apr 2024 04:54:01 UTC
Date: Mon, 8 Apr 2024 21:47:46 -0700
X-Received-Bytes: 2212
X-Original-Bytes: 2073
Xref: news.eternal-september.org alt.bbs.synchronet:39189
To: Digital Man
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 upload
DM> 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?
Nightfox
---
� Synchronet � Digital Distortion: digitaldistortionbbs.com
--- Synchronet 3.20a-Linux NewsLink 1.114
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
* Origin: Joe's BBS (1:342/200)