Config file include order bug?

Sven Hartge sven at svenhartge.de
Thu Jul 16 15:28:36 CEST 2020


On 16.07.20 15:11, Adam Bishop via Freeradius-Users wrote:
> On 16 Jul 2020, at 13:56, Sven Hartge <sven at 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20200716/bd95e703/attachment.sig>


More information about the Freeradius-Users mailing list