• src/xpdev/dirwrap.c dirwrap.h

    From rswindell@1:103/705 to CVS commit on Tue Jul 24 21:20:05 2018
    src/xpdev dirwrap.c 1.100 1.101 dirwrap.h 1.49 1.50
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv21859

    Modified Files:
    dirwrap.c dirwrap.h
    Log Message:
    delfiles() needs to return a signed value (long, not ulong) to indicate
    a faliure.
    delfiles() now returns a negative result upon any deletion errors.


    --- SBBSecho 3.05-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sat Jan 12 03:56:27 2019
    src/xpdev dirwrap.c 1.102 1.103 dirwrap.h 1.50 1.51
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv30161

    Modified Files:
    dirwrap.c dirwrap.h
    Log Message:
    Added getdirname(): returns the filename or lastdirectory portion of a full pathname (directories must end in a '/'). Unlike getfname() which returns an empty string if passed a path ending in a '/'.
    Useful with glob(.., GLOB_MARK).

    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun Jul 14 20:25:52 2019
    src/xpdev dirwrap.c 1.105 1.106 dirwrap.h 1.51 1.52
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv1113

    Modified Files:
    dirwrap.c dirwrap.h
    Log Message:
    On Windows, the return value of getfattr() is not compatible with chmod() (totally differnet bit values).
    So create getfmode() which is a thin wrapper for stat() and can be used to read a chmod()-comopatible value on all supported OSes.

    --- SBBSecho 3.07-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Sun Aug 11 23:20:41 2019
    src/xpdev dirwrap.c 1.106 1.107 dirwrap.h 1.52 1.53
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv22905

    Modified Files:
    dirwrap.c dirwrap.h
    Log Message:
    delfiles() now takes a 3rd argument: keep, which is a number of files to retain (not delete) from the end of the sorted list of files (normally, 0).

    --- SBBSecho 3.08-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Fri Sep 20 01:24:36 2019
    src/xpdev dirwrap.c 1.108 1.109 dirwrap.h 1.53 1.54
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv30966

    Modified Files:
    dirwrap.c dirwrap.h
    Log Message:
    Added getfilesizetotal() which calculates the total size of all files matching the specified path and (optional) wildcards.

    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From rswindell@1:103/705 to CVS commit on Fri Sep 20 01:59:34 2019
    src/xpdev dirwrap.c 1.109 1.110 dirwrap.h 1.54 1.55
    Update of /cvsroot/sbbs/src/xpdev
    In directory cvs:/tmp/cvs-serv4163

    Modified Files:
    dirwrap.c dirwrap.h
    Log Message:
    Change getfilecount() to allow the pattern to be specified (or not) in the path argument, eliminate the spec/pattern argument.

    --- SBBSecho 3.10-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 Thu Mar 24 23:14:29 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/ce74d0e03cfee182d4c3894f
    Modified Files:
    src/xpdev/dirwrap.c dirwrap.h
    Log Message:
    Introduce case-insensitive version of glob(): globi()glob() is case-insensitive
    on Windows already, so create a work-alike for *nix.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Feb 24 08:45:53 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/3cc9735641f9a0794c959d2c
    Modified Files:
    src/xpdev/dirwrap.c dirwrap.h
    Log Message:
    Looks like that worked... intptr_t the rest.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)