• src/sbbs3/logout.cpp

    From rswindell@VERT to CVS commit on Friday, November 27, 2015 03:12:14
    src/sbbs3 logout.cpp 1.27 1.28
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv8150

    Modified Files:
    logout.cpp
    Log Message:
    Fix comments.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Saturday, October 06, 2018 15:31:35
    src/sbbs3 logout.cpp 1.31 1.32
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv13650

    Modified Files:
    logout.cpp
    Log Message:
    Don't call putmsgptrs() from logout() unless the SS_USERON sys_status flag
    is set: this insures that uninitialized msg-scan ptrs/cfg won't be
    written to disk unless a successful logon()/getmsgptrs() was called first.
    This probably fixes the sighting that echicken reported where a failed
    SSH login caused his sub-scan config file (data/user/0001.subs) to contain uninitialized/garbage values.
    logout() could be called from multiple places (e.g. JS and Baja modules),
    even before a successful login is completed, so this sighting is not
    entirely impractical.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Wednesday, November 04, 2020 23:28:33
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/82756324a88ca339598b3020
    Modified Files:
    src/sbbs3/logout.cpp
    Log Message:
    Resolve error on 32-bit *nixes with large file support

    ERROR 2 (No such file or directory) in logout.cpp line 189 (backout) opening "/sbbs/node1/backout.dab"

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Wednesday, November 04, 2020 23:28:33
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/66b69f881f1211a14e314894
    Modified Files:
    src/sbbs3/logout.cpp
    Log Message:
    Revert "Resolve error on 32-bit *nixes with large file support"

    This reverts commit 82756324a88ca339598b30202dd4776a6188d93a.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, December 20, 2020 17:11:56
    https://gitlab.synchro.net/main/sbbs/-/commit/6e451021868689e07fa71a72
    Modified Files:
    src/sbbs3/logout.cpp
    Log Message:
    Comment header block update. Nothing else.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Monday, April 25, 2022 14:21:49
    https://gitlab.synchro.net/main/sbbs/-/commit/b75114da90a36b13995e9979
    Modified Files:
    src/sbbs3/logout.cpp
    Log Message:
    Add comment about race condition

    Fixed typo in another comment

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (in GitKraken)@VERT to Git commit to main/sbbs/master on Thursday, February 16, 2023 18:56:31
    https://gitlab.synchro.net/main/sbbs/-/commit/166e81b9ea286aaf9584b64d
    Modified Files:
    src/sbbs3/logout.cpp
    Log Message:
    Report correct upload/download Kbytes in data/logs/<date>.log files

    After the move to 64-bit upload/download byte counts, these integers are different width than 'long' on 32-bit builds (e.g. Windows), so these numbers were wrong on all but 64-bit *nix builds.

    The change here also uses the cool byte_estimate_to_str() function so that large byte totals are not expressed in 'K' but rather 'M', 'G', 'T' etc. suffixes.

    The formatting is otherwise consistent with the pre-existing log line format save for the use of an uppercase suffix now.

    Before:
    @- 02:19p T: 12 R: 0 P: 0 E: 0 F: 0 U: 0k 0 D:420k 1
    After:
    @- 02:07p T: 0 R: 0 P: 0 E: 0 F: 0 U: 0K 0 D:420K 1

    Before:
    @- 02:23p T: 0 R: 0 P: 0 E: 0 F: 0 U: 0k 0 D:1359k 1
    After:
    @- 02:26p T: 1 R: 0 P: 0 E: 0 F: 0 U: 0K 0 D:1.3M 1

    This fixes issue #519. I'm glad to hear that sysops still use these log files!

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (in GitKraken)@VERT to Git commit to main/sbbs/master on Saturday, February 18, 2023 21:37:49
    https://gitlab.synchro.net/main/sbbs/-/commit/bd69af94da93456cab26f24e
    Modified Files:
    src/sbbs3/logout.cpp
    Log Message:
    Insure there's at least one space between stats in .lol files

    The format string used did not insure there was any space between fields leading to very hard to parse stats, like this:
    User 2 SSH 12:25 12:39 14554 0 0 0 0 0

    That's 554 msgs read in 14 minutes online, but well, you see what I'm say'n.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Saturday, March 02, 2024 16:45:37
    https://gitlab.synchro.net/main/sbbs/-/commit/badef1ab113d9d2fb150f742
    Modified Files:
    src/sbbs3/logout.cpp
    Log Message:
    Don't update the user's new file scan date/time if it was never set

    Every SFTP login/off would reset the user's new-file-scan date to Jan-1-1970

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