• src/sbbs3/addfiles.c

    From deuce@VERT to CVS commit on Friday, August 21, 2015 23:55:59
    src/sbbs3 addfiles.c 1.49 1.50
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv30508

    Modified Files:
    addfiles.c
    Log Message:
    Fix warning (printf(usage) -> puts(usage))



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Tuesday, July 04, 2017 23:12:07
    src/sbbs3 addfiles.c 1.50 1.51
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv11944

    Modified Files:
    addfiles.c
    Log Message:
    Fix issue with long filenames in file listings (e.g. files.bbs) as reported by deepthaw.
    Also, if there was only one line in the file listing, nothing would be
    imported (now fixed).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Friday, July 07, 2017 00:21:38
    src/sbbs3 addfiles.c 1.51 1.52
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv26938

    Modified Files:
    addfiles.c
    Log Message:
    Fix problem (on Windows) with previous commit: descriptions in file lists were always truncated to zero-length.
    Also: more use of SAFECOPY.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Friday, July 07, 2017 00:43:03
    src/sbbs3 addfiles.c 1.52 1.53
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv22267

    Modified Files:
    addfiles.c
    Log Message:
    Added option for Deepthaw: -p
    When using this option, the file's timestamp is compared with the stored upload timestamp. If the file is the same or older than the upload date/time, it is skipped. I think this is what he was asking for.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Saturday, July 08, 2017 18:32:54
    src/sbbs3 addfiles.c 1.53 1.54
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv3540

    Modified Files:
    addfiles.c
    Log Message:
    Fix bug with '-p' (check date) feature as reported by Deepthaw:
    Must read the filebase index *before* comparing the upload date.
    Also, implement support for -p when a filename is specified on the command-line (without -s or a list).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Thursday, July 18, 2019 16:08:46
    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.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, August 12, 2019 00:04:08
    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).



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, August 19, 2019 13:21:49
    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.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, May 11, 2020 22:28:42
    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).


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wednesday, December 02, 2020 20:51:05
    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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Friday, April 16, 2021 12:32:40
    https://gitlab.synchro.net/main/sbbs/-/commit/492457499648f1c5cd14b4ad
    Modified Files:
    src/sbbs3/addfiles.c
    Log Message:
    Fix some crashes on multi-line description import stuff

    Even though this is going to be removed / deprecated.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Friday, April 16, 2021 18:49:39
    https://gitlab.synchro.net/main/sbbs/-/commit/921c349f57428409777ea258
    Modified Files:
    src/sbbs3/addfiles.c
    Log Message:
    Fix the file update support a bit.

    This is still broken (errors when updating existing files) and is still planned for deprecation.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, April 25, 2021 19:36:21
    https://gitlab.synchro.net/main/sbbs/-/commit/057b737eca56dbbe55f2d6b0
    Modified Files:
    src/sbbs3/addfiles.c
    Log Message:
    Close stream on error.

    Fixes CID 33498

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wednesday, January 12, 2022 19:11:24
    https://gitlab.synchro.net/main/sbbs/-/commit/0562a5ac7f52b061ed56872f
    Modified Files:
    src/sbbs3/addfiles.c
    Log Message:
    Remove remnants of alternate file path support

    Wouldn'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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wednesday, January 12, 2022 19:34:05
    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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wednesday, January 12, 2022 19:40:24
    https://gitlab.synchro.net/main/sbbs/-/commit/f7c6b4b368537952b77bb5a7
    Modified Files:
    src/sbbs3/addfiles.c
    Log Message:
    A couple more sprintf->SAFEPRINTF conversions

    Not sure why, as this utility has been deprecated. :-/

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thursday, March 03, 2022 16:45:56
    https://gitlab.synchro.net/main/sbbs/-/commit/3ab210cbd551966d6828ddb9
    Modified Files:
    src/sbbs3/addfiles.c
    Log Message:
    Fix a few issues around single-file add argument parsing

    Triggered by CID 33630: Unbounded source buffer

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net