-
src/sbbs3/addfiles.c
From
rswindell@1:103/705 to
CVS commit on Tue Mar 12 19:31:20 2019
src/sbbs3 addfiles.c 1.54 1.55
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv22042
Modified Files:
addfiles.c
Log Message:
Moved the copy/pasted FILE_ID.DIZ/DESC.SDI code (3 times!?!) into its own function.
Constify mycmdstr() arguments.
Removed trailing whitespaces.
No functional changes expected by this commit.
--- SBBSecho 3.06-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Tue Mar 12 19:58:42 2019
src/sbbs3 addfiles.c 1.55 1.56
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv25490
Modified Files:
addfiles.c
Log Message:
When extracting FILE_ID.DIZ/DESC.SDI, search through the exractable file
types twice - first to see if one matches the requirements. If none match,
then search again just for an extractor matching the file extension.
Modernize the get_file_diz() function a little bit (e.g. return bool).
--- SBBSecho 3.06-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Fri Mar 15 20:47:01 2019
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)
-
From
rswindell@1:103/705 to
CVS commit on Thu Jul 18 16:08:46 2019
src/sbbs3 addfiles.c 1.57 1.58
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv5277
Modified Files:
addfiles.c
Log Message:
Fix DIZ-importing bug introduced in rev 1.55 Mar 13 2019 by rswindell: get_file_diz() was reading the contents of the DIZ/SDI file into a local variable and not returning it or writing to the database. Poof!
Also, read the existing extended description if there is one, when updating existing files.
--- SBBSecho 3.07-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Mon Aug 12 00:04:08 2019
src/sbbs3 addfiles.c 1.58 1.59
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv31827
Modified Files:
addfiles.c
Log Message:
Added -F (capital 'F') option to specify the format of the date/time stamp
to put in the description (in strftime() format). Can also be used in combination with '-t' if you want today's date/time instead.
It's not very clear from the help/usage output, but if you specify both -f
(or -F) and -t, you'll *only* get today's date in the description (not both
the file date and today's date).
--- SBBSecho 3.08-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Mon Aug 19 13:21:49 2019
src/sbbs3 addfiles.c 1.59 1.60
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv21312
Modified Files:
addfiles.c
Log Message:
Address issue reported by Clogan:
In *nix builds of addfiles, when adding a file list (e.g. files.bbs), the
case (capitalization) of the filenames is taken literally from the file list, and that may be incorrect in same cases. Detect the correct case of the filename and use it when importing into the filebases.
--- SBBSecho 3.08-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Mon May 11 22:28:42 2020
src/sbbs3 addfiles.c 1.61 1.62
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv27538
Modified Files:
addfiles.c
Log Message:
Experimental change for Nelgin:
this should allow the import of a bare filename list (no descriptions or white-space after each filename required).
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Wed Dec 2 20:51:05 2020
https://gitlab.synchro.net/main/sbbs/-/commit/415c9d79a829fa342a649e5a
Modified Files:
src/sbbs3/addfiles.c
Log Message:
When adding one file at a time, the description is now optional.If no description is given, just make the default/short description, literally, "No description given" - rather than refusing to add the file.
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Fri Apr 16 12:32:40 2021
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Fri Apr 16 18:49:39 2021
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Sun Apr 25 19:36:21 2021
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Wed Jan 12 19:11:24 2022
https://gitlab.synchro.net/main/sbbs/-/commit/0562a5ac7f52b061ed56872f
Modified Files:
src/sbbs3/addfiles.c
Log Message:
Remove remnants of alternate file path supportWouldn't work with the new filebase if you tried to use it anyway. Just noticed while watching the v3.19b new feature video that the [.alt_path] was still listed as a command-line option.
--- SBBSecho 3.14-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Wed Jan 12 19:34:05 2022
https://gitlab.synchro.net/main/sbbs/-/commit/4e3e63efa690cc2855d7e085
Modified Files:
src/sbbs3/addfiles.c
Log Message:
Address GCC warning: ΓÇÿ%sΓÇÖ directive writing up to 4096 bytes...warning: ΓÇÿ%sΓÇÖ directive writing up to 4096 bytes into a region of size between 4034 and 4097
--- SBBSecho 3.14-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Wed Jan 12 19:40:24 2022
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Thu Mar 3 16:45:56 2022