[physfs] enumerateFiles Regression on Mac OS

Ralph Eastwood tcmreastwood at gmail.com
Sun Oct 16 10:08:25 EDT 2016


Quick test script that might be useful if you have an archive handy.

On 16 October 2016 at 15:06, Ralph Eastwood <tcmreastwood at gmail.com> wrote:
> Hello,
>
> I made this patch quickly and appears to work against local mount points...
> can someone with some time do some tests against other archive mount points?
>
> Cheers,
> Ralph
>
> On 16 October 2016 at 07:23, Cheeseness <cheese at cheesetalks.net> wrote:
>> Hi hi
>>
>> I've found some unexpected behaviour with PHYSFS_enumerateFiles() on Mac
>> OS 10.10.5 with the current 2.1.0 development branch (as at changeset
>> 1384:d844add9a935).
>>
>> PHYSFS_enumerateFiles() will not list anything mounted outside of /,
>> including mounted subdirectories of /.
>>
>> To reproduce,
>>
>>   $ mkdir foo; touch foo/bar
>>   $ ./test_physfs
>>   > mount foo test 1
>>   > enumerate test
>>
>> This will consistently return "total (0) files" with 2.1.0, but with the
>> 2.0.3 stable release, "bar" is listed as being within the virtual folder
>> "test".
>>
>> I haven't had time to look through and see if I can work out what's
>> going on, but I figured I'd make note of it here in case anybody with
>> more familiarity than me has time/enthusiasm enough to take a look
>> before I get around to it (it's low on my priority list since I the
>> stable build is functional enough for me right now).
>>
>> Cheese
>>
>>
>> _______________________________________________
>> physfs mailing list
>> physfs at icculus.org
>> http://icculus.org/mailman/listinfo/physfs
>
>
>
> --
> Tai Chi Minh Ralph Eastwood
> tcmreastwood at gmail.com



-- 
Tai Chi Minh Ralph Eastwood
tcmreastwood at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testmount.sh
Type: application/x-sh
Size: 189 bytes
Desc: not available
URL: <http://icculus.org/pipermail/physfs/attachments/20161016/f57036b0/attachment.sh>


More information about the physfs mailing list