FidoNet Echomail Archive
sync_programming

<<< Previous Index Next >>>

From: rswindell
To: CVS commit
Date: 2019-03-15 20:47:00
Subject: src/sbbs3/addfiles.c

src/sbbs3 addfiles.c 1.56 1.57
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv19513

Modified Files:
	addfiles.c 
Log Message:
When adding a listfile (e.g. files.bbs), be a bit more strict:
- filenames must begin with an alpha-numeric char. Might want to relax this in
  the future if it's a problem, but generally filenames on BBSes do begin with
  alpha-numeric characters and this will help us to identify an ignore
  "garbage" filenames in listfiles.
- always check if the file actually exists, even when parsing the length of
  the file from the listfile. This will also help us to ignore garbage
  filenames.
- also removed an inexplicable unpadfname() call. Filenames in file lists
  should *not* normally be padded (like "this    .txt") - so I'm
not sure why
  this was in there. Perhaps for lists generated from filelist.exe (?). Anyway,
  out of an abundance of caution, removed it. Padded filenames are going away.


--- SBBSecho 3.06-Linux
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
SEEN-BY: 103/705 154/10 203/0 218/700 221/0 229/426 240/5832 261/38 280/464
SEEN-BY: 280/5003 396/45 423/120 633/0 267 280 281 384 408 412 509 712/848
SEEN-BY: 770/1
@PATH: 103/705 280/464 712/848 633/280 267


<<< Previous Index Next >>>