16 Jul
2020
16 Jul
'20
9:28 a.m.
On 16.07.20 15:11, Adam Bishop via Freeradius-Users wrote:
On 16 Jul 2020, at 13:56, Sven Hartge <sven@svenhartge.de> wrote:
Here is the simple test tool I wrote. As you can see, it also contains part of the freeradius code to remove unwanted filenames to test that *dp is really the same is the one readdir() spits out.
Gave this a test myself, and found it didn't report the full contents of a directory on a Mac.
$ ./scandir | wc -l 57 $ ls . | wc -l 67
Well, the test tool filters out everything containing characters other than digits, letters, '.', '-' and '_'. So if there are any entries like "lost+found" it will be skipped. Grüße, Sven.