-
src/xpdev/dirwrap.c
From
rswindell@1:103/705 to
CVS commit on Fri Jan 12 22:11:56 2018
src/xpdev dirwrap.c 1.94 1.95
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv30456
Modified Files:
dirwrap.c
Log Message:
Use case-sensitive sorting in Windows version of glob() - unless GLOB_NOSORT
is used of course.
This should provide more consistent results with the *nix builds of stuff
(e.g. JS Directory()).
--- SBBSecho 3.03-Win32
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
deuce@1:103/705 to
CVS commit on Sat Feb 10 00:20:40 2018
src/xpdev dirwrap.c 1.95 1.96
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv5116
Modified Files:
dirwrap.c
Log Message:
Fix memory clobbering bug in _fullpath()...
If part of the path were removed (ie: "//", "/./", or "/../"), it's possible that the outer loop would extend past the string into uninitialized memory where it could potentially corrupt things.
This was HIGHLY unlikely as it would stop at the first '/' and only corrupt memory in the presence of the previously mentioned patterns.
--- SBBSecho 3.03-Win32
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
deuce@1:103/705 to
CVS commit on Tue Feb 20 13:22:27 2018
src/xpdev dirwrap.c 1.97 1.98
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv4398
Modified Files:
dirwrap.c
Log Message:
Handle glob() failure in getdirsize().
--coverity
--- SBBSecho 3.03-Win32
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
deuce@1:103/705 to
CVS commit on Tue Mar 6 18:40:14 2018
src/xpdev dirwrap.c 1.98 1.99
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv16954
Modified Files:
dirwrap.c
Log Message:
isfullpath() should not return true for "\0:" or "$:"... the first char
must be a letter if the second char is a colon.
--- SBBSecho 3.03-Win32
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
deuce@1:103/705 to
CVS commit on Tue Mar 6 18:44:59 2018
src/xpdev dirwrap.c 1.99 1.100
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv17661
Modified Files:
dirwrap.c
Log Message:
Fix last commit.
--- SBBSecho 3.03-Win32
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Sat Jan 12 00:01:43 2019
src/xpdev dirwrap.c 1.101 1.102
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv29851
Modified Files:
dirwrap.c
Log Message:
Optimized fdate(), fcdate(), flength(), fnameexist() functions:
There's no reason to call access() before stat() since stat() will fail
(return -1) if the file does not exist.
--- SBBSecho 3.06-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Mon Jan 14 19:05:14 2019
src/xpdev dirwrap.c 1.103 1.104
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/home/rswindell/sbbs/src/xpdev
Modified Files:
dirwrap.c
Log Message:
Make getdirname() behave more consistently with the function of the
same name in uifc/filepick.c - specifically with regards to paths that
begin with a / (or \ on Windows).
--- SBBSecho 3.06-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Wed Apr 10 17:47:24 2019
src/xpdev dirwrap.c 1.104 1.105
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/home/rswindell/sbbs/src/xpdev
Modified Files:
dirwrap.c
Log Message:
Address GCC warning: field precision specifier '.*' expects argument of type 'int'
--- 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:32:28 2019
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.08-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Sat Sep 21 04:19:08 2019
src/xpdev dirwrap.c 1.110 1.111
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv14244
Modified Files:
dirwrap.c
Log Message:
Fix Borland build failure:
dirwrap.c 841: Declaration is not allowed here in function getfilesizetotal
--- SBBSecho 3.10-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
deuce@1:103/705 to
CVS commit on Tue Apr 14 04:56:07 2020
src/xpdev dirwrap.c 1.111 1.112
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv1415
Modified Files:
dirwrap.c
Log Message:
Only copy up to MAX_PATH characters to each component in _splitpath()
Fixes coverity warning in SyncTERM... matches the size all callers currently use.
--- SBBSecho 3.10-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Mon May 25 15:15:09 2020
src/xpdev dirwrap.c 1.112 1.113
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv23403
Modified Files:
dirwrap.c
Log Message:
Typo in comment.
--- SBBSecho 3.11-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 Tue Dec 22 15:38:19 2020
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Mon Feb 22 00:29:05 2021
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Sun Jun 6 00:04:44 2021
https://gitlab.synchro.net/main/sbbs/-/commit/23d36a634b40b71178cfc374
Modified Files:
src/xpdev/dirwrap.c
Log Message:
Fix delfiles() to delete files starting with '.' (that match the pattern)glob()
by default, doesn't include 'dot files', so include the GLOB_PERIODflag so that
when deleting all files in a directory (e.g. node1/temp/*), anyfiles starting with a dot will be deleted too.
--- SBBSecho 3.14-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 Sun Jun 6 00:25:38 2021
https://gitlab.synchro.net/main/sbbs/-/commit/29cef0e7ad7f1208b5fcd0d0
Modified Files:
src/xpdev/dirwrap.c
Log Message:
I guess GLOB_PERIOD is Linux or GNU extension. <shrug>Fix FreeBSD build error:dirwrap.c:760:13: error: use of undeclared identifier 'GLOB_PERIOD'Not sure how glob() on FreeBSD treats "dot files" or how to control that.
--- SBBSecho 3.14-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 Sun Jan 23 14:58:21 2022
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Fri Mar 25 10:21:52 2022
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Sun Mar 27 10:24:22 2022
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 Mon Mar 28 01:41:35 2022
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Tue Mar 29 01:16:22 2022
-
From
Rob Swindell (in GitKraken)@1:103/705 to
Git commit to main/sbbs/master on Mon Mar 13 18:31:32 2023
-
From
Rob Swindell (on Windows 11)@1:103/705 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.
--- 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 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.
--- 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 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.
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Rob Swindell (on Debian Linux)@1:103/705 to
Git commit to main/sbbs/master on Mon Apr 29 22:02:01 2024