• src/xpdev/dirwrap.c

    From Rob Swindell (in GitKraken)@VERT to Git commit to main/sbbs/master on Mon Mar 13 18:31:32 2023
    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" (*)

    ---
    þ 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 Sat Jan 20 14:29:14 2024
    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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sun Jan 21 14:28:18 2024
    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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sat Feb 24 08:40:35 2024
    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.

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