• src/xpdev/dirwrap.c dirwrap.h

    From rswindell@VERT to CVS commit on Monday, July 15, 2019 03:25:52
    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.


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, August 12, 2019 06:20:41
    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).


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, September 20, 2019 08:24:36
    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.


    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Friday, September 20, 2019 08:59:34
    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.


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