• src/xpdev/dirwrap.c

    From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Friday, March 25, 2022 10:21:52
    https://gitlab.synchro.net/main/sbbs/-/commit/30cf70e9542d8ef446a50f46
    Modified Files:
    src/xpdev/dirwrap.c
    Log Message:
    Uh, increment the pointer in globi()Fixes crash reported in #381.
    --- SBBSecho 3.15-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 Sunday, March 27, 2022 10:24:22
    https://gitlab.synchro.net/main/sbbs/-/commit/529912b6399acf676de90888
    Modified Files:
    src/xpdev/dirwrap.c
    Log Message:
    Only filename portion of pattern for globi() shall be case-insensitiveWindows doesn't allow multiple directories of the same name only differing in case, so don't on *nix either.
    --- SBBSecho 3.15-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 Monday, March 28, 2022 01:41:35
    https://gitlab.synchro.net/main/sbbs/-/commit/c4fc80abfaa27ffcc7980d61
    Modified Files:
    src/xpdev/dirwrap.c
    Log Message:
    Fix the globi() change for *nixI was stripping the path here... oops.
    --- SBBSecho 3.15-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 Tuesday, March 29, 2022 01:16:22
    https://gitlab.synchro.net/main/sbbs/-/commit/f4753d2f0446bd0ef32662d0
    Modified Files:
    src/xpdev/dirwrap.c
    Log Message:
    Use the pointer *after* checking that its not NULLFixes CID 351271
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (in GitKraken)@1:103/705 to Git commit to main/sbbs/master on Monday, March 13, 2023 18:31:32
    https://gitlab.synchro.net/main/sbbs/-/commit/5ea2eeb311f22a1e5f826882
    Modified Files:
    src/xpdev/dirwrap.c
    Log Message:
    If delfiles() is called with a NULL spec, assume "all files" (*)
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Friday, October 20, 2023 20:19:52
    src/xpdev dirwrap.c 1.107 1.108
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/home/rswindell/sbbs/src/xpdev

    Modified Files:
    dirwrap.c
    Log Message:
    Added new 3rd arg to call to delfiles() from removecase().


    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Saturday, January 20, 2024 14:29:14
    https://gitlab.synchro.net/main/sbbs/-/commit/d9d140af60f18552e07150de
    Modified Files:
    src/xpdev/dirwrap.c
    Log Message:
    Fix disksize/space functions for Win32

    Broken 11 months ago with commit ae44ab15: the unit argument was ignored (e.g. converting to kibibytes) and the free/total disk size/space checks were reversed.

    Reported by Max (WESTLINE) via usage of JS properties: system.freediskspace and system.freediskspacek.

    The JS global functions dir_freespace() and disk_size() were also broken due to this bug.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sunday, January 21, 2024 14:28:18
    https://gitlab.synchro.net/main/sbbs/-/commit/095858e5c974d1e6265f0b65
    Modified Files:
    src/xpdev/dirwrap.c
    Log Message:
    Set size to MAX_PATH+1 when allocating.

    On Win32, size is explcitly "ignored" when target is NULL, so we
    should set it to the size of the allocation.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Saturday, February 24, 2024 08:40:35
    https://gitlab.synchro.net/main/sbbs/-/commit/cb0dbdaf0928ea962e5b8c9d
    Modified Files:
    src/xpdev/dirwrap.c
    Log Message:
    Fix glob() for Win64

    _fintfirst() is declared in the Mingw-w64 headers as an intptr_t,
    which tracks. Can't find _findfirst on MSDN, so that's good enough
    for me... let's see what the pipeline says.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)