• src/sbbs3/smbutil.c

    From rswindell to CVS commit on Friday, January 03, 2020 12:31:54
    src/sbbs3 smbutil.c 1.131 1.132
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    smbutil.c
    Log Message:
    Add new command-line option:
    -r = display raw message body text (not MIME-decoded)


  • From rswindell to CVS commit on Friday, April 03, 2020 19:37:26
    src/sbbs3 smbutil.c 1.132 1.133
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    smbutil.c
    Log Message:
    Strip Ctrl-A codes from body text before printing.
    Treat \n the same as \r (next msg cmd)when reading msgs.


  • From rswindell to CVS commit on Wednesday, April 29, 2020 23:36:33
    src/sbbs3 smbutil.c 1.133 1.134
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv8217

    Modified Files:
    smbutil.c
    Log Message:
    Detect the charset used in the mesage body (ASCII, CP437, or UTF-8) and set the FIDOCHARSET header field appropriately.
    Detect UTF-8 in any of the viewable header fields and set the appropriate aux attribute flag.

  • From rswindell to CVS commit on Friday, May 01, 2020 18:23:32
    src/sbbs3 smbutil.c 1.134 1.135
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    smbutil.c
    Log Message:
    Resolve GCC warnings.
    Support the continue-on-error option (-C) with the -R (repair) command.



  • From rswindell to CVS commit on Sunday, May 24, 2020 17:40:34
    src/sbbs3 smbutil.c 1.135 1.136
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv27737

    Modified Files:
    smbutil.c
    Log Message:
    Line up the "index record" value with the other header fields as displayed by smb_dump_msghdr().

  • From Rob Swindell to Git commit to sbbs/master on Saturday, September 26, 2020 01:32:04
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/8b9ad9404ea61764c8e38cb4
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Don't count vote/poll messages when purging to meet the maximum msgs setting
  • From Rob Swindell to Git commit to sbbs/master on Saturday, September 26, 2020 13:38:58
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/c018dfb88f45e97f2553764f
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Use smb_msg_type() to include poll messages in total message count.

    Don't exclude polls form the message count used for max_msgs enforcement
    during maintenance.
  • From Rob Swindell to Git commit to sbbs/master on Thursday, October 08, 2020 17:05:12
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/c4c9902d6e4f6ae87d9208c4
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Replace ESC chars with '.' when viewing messages, support '-<count>' with 'r'.

    When reading messages, circumvent ANSI-encoded messages by replacing the ESC character (ASCII 27) with '.'. This could be made an optional behavior if someone really wants ANSI-encoded messages to be read via smbutil.

    Also, allow continuous reading of 1 or more consecutive messages using the -<digit> option (no prompting).
  • From Rob Swindell to Git commit to sbbs/master on Thursday, October 08, 2020 17:28:32
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/2edad5267d61db01439d5396
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    <deon[m]> could be helpful if "l" (list) shows the index id needed as well
  • From Rob Swindell to Git commit to main/sbbs/master on Monday, May 10, 2021 17:05:21
    https://gitlab.synchro.net/main/sbbs/-/commit/f92a14cd738c03df9505702e
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Fix issue with the import message commands introduced in previous commit

    The fread() usage here did not need "addressing" (Commit 1b56dc96).

    This caused messages posted via smbutil to be short (e.g. 0 or 1 bytes
    in length). Reported by Accession via Idle Relay Chat.

    Also, don't call strlen() on msgtxt which could be NULL, causing segfault
    in final printf() callin in postmsg().
  • From Rob Swindell to Git commit to main/sbbs/master on Saturday, June 05, 2021 14:53:40
    https://gitlab.synchro.net/main/sbbs/-/commit/d653a6d97c48dc47819e399f
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Add new commands to flag/unflag all messages for deletion

    The command to delete and remove all messages is changed from 'd' to 'D'.
    This operation is not reversable.

    New commands are 'd' (flag all msgs for deletion) and 'u' (undelete all msgs).
  • From Rob Swindell to Git commit to main/sbbs/master on Sunday, June 06, 2021 04:02:21
    https://gitlab.synchro.net/main/sbbs/-/commit/19975dfafd9041acaf6e3221
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Resolved sign/unsigned compare warning
  • From Rob Swindell to Git commit to main/sbbs/master on Wednesday, February 23, 2022 23:25:45
    https://gitlab.synchro.net/main/sbbs/-/commit/7be94765a4b73ecb93c97319
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Comment intentional case fall-through

    CID 33205
  • From Rob Swindell to Git commit to main/sbbs/master on Tuesday, March 01, 2022 22:43:08
    https://gitlab.synchro.net/main/sbbs/-/commit/2cd7d767f3e71cd522c73da1
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Zero-init 'ms'g' before use

    Addresses CID 350316
  • From Rob Swindell to Git commit to main/sbbs/master on Tuesday, March 01, 2022 22:43:08
    https://gitlab.synchro.net/main/sbbs/-/commit/831438fad7fb9cfcf4ec72c9
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Zero-init 'msg' before use

    Addresses CID 350312
  • From Rob Swindell to Git commit to main/sbbs/master on Tuesday, March 01, 2022 22:43:08
    https://gitlab.synchro.net/main/sbbs/-/commit/31864868ed05e82aa601f466
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Zero-init 'msg' before use

    CID 350279
  • From Rob Swindell to Git commit to main/sbbs/master on Wednesday, March 02, 2022 18:14:50
    https://gitlab.synchro.net/main/sbbs/-/commit/ecce2a8a402e7330486bf423
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Detect smb_fallocdat() and ftell() failures

    CID 33245
  • From Rob Swindell to Git commit to main/sbbs/master on Wednesday, March 02, 2022 18:14:50
    https://gitlab.synchro.net/main/sbbs/-/commit/9169e4aa90c65ce7d5bd8f2d
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Detect/report smb_fallochdr() and ftell() failures

    Fix CID 33244: Argument cannot be negative
  • From Rob Swindell to Git commit to main/sbbs/master on Thursday, March 03, 2022 16:45:56
    https://gitlab.synchro.net/main/sbbs/-/commit/c40ef9243970d5228e7473ef
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Check for negative filelength() return values

    e.g. CID 229593: Negative loop bound
  • From Rob Swindell to Git commit to main/sbbs/master on Saturday, March 12, 2022 21:09:16
    https://gitlab.synchro.net/main/sbbs/-/commit/07580ea7b1b6e204c4c5400b
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Display textual version of msg attributes when using 'r'ead command

    Also displays net and aux attribute values when non-zero (weren't displayed
    at all with the 'r'ead command previously).
  • From Rob Swindell to Git commit to main/sbbs/master on Saturday, March 12, 2022 23:21:15
    https://gitlab.synchro.net/main/sbbs/-/commit/4b5a75c3ae3f207e6cc71cbd
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Address warnings introduced in previous commit
  • From Rob Swindell to Git commit to main/sbbs/master on Sunday, March 13, 2022 00:26:38
    https://gitlab.synchro.net/main/sbbs/-/commit/5ee74077200205a13bbbf60c
    Modified Files:
    src/sbbs3/smbutil.c
    Log Message:
    Fix CID 350312: Uninitialized scalar variable