• src/xpdev/dirwrap.c dirwr

    From rswindell@VERT to CVS commit on Wednesday, July 25, 2018 04:20:00
    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.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Saturday, January 12, 2019 11:56:00
    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).


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