TID: PX/Win v7.0 PX98-1008M   
   MSGID: 1:342/200 ce2da4fd   
   TZUTC: -0600   
   Path: eternal-september.org!news.eternal-september.org!feeder3.e   
   ernal-september.org!border-1.nntp.ord.giganews.com!nntp.giganews   
   com!npeer.as286.net!npeer-ng0.as286.net!peer03.ams1!peer.ams1.xl   
   ed.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!new   
   .highwinds-media.com!fx48.iad.POSTED!not-for-mail   
   From: "Nightfox"    
   Subject: A couple of questions   
   Message-ID: <6614C872.85656.dove_sync@digitaldistortionbbs.com>   
   X-Comment-To: Digital Man   
   Organization: Digital Distortion   
   Newsgroups: alt.bbs.synchronet   
   In-Reply-To: <6614B32A.51552.sync@vert.synchro.net>   
   References: <6614B32A.51552.sync@vert.synchro.net>   
   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)   
   SEEN-BY: 15/0 90/1 105/81 106/201 128/260 129/305 135/220 225 153/7715   
   SEEN-BY: 218/700 226/30 227/114 229/110 112 113 206 317 426 428 470   
   SEEN-BY: 229/550 664 700 266/512 282/1038 291/111 292/854 320/219   
   SEEN-BY: 322/757 342/200 201 396/45 460/58 633/280 712/848 5075/35   
   PATH: 342/200 229/426   
      
|