[physfs] physfs 2.1: PHYSFS_enumerateFiles (symlink related?)

Jonas Thiem jonasthiem at googlemail.com
Sat Feb 8 09:18:10 EST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Martin,

I just tried this and PHYSFS_permitSymbolicLinks(1) resolves the issue
for me as well. However, I don't have a trailing slash even, it just
doesn't work at all for me (no matter if trailing slash or not) unless
I permit symbolic links as you suggested.

I don't have any symbolic links I'm aware of though, it's just a
regular zip file.

Thanks a lot for finding a work around!

Regards,
Jonas Thiem

On 02/08/2014 11:48 AM, Martin Felis wrote:
> Hi there,
> 
> (this might be related to the mail of Jonas Thiem 
> http://icculus.org/pipermail/physfs/2014-January/001130.html. 
> Unfortunately I could not reply to his thread as I joined the 
> mailinglist just recently)
> 
> I am using latest mercurial version of physfs 2.1 and have a
> problem with PHYSFS_enumerateFiles(). I do get empty results when
> querying the contents of a zip archive.
> 
> For an archive with the layout:
> 
> file1.txt file2.txt somesubdir/subfile1.txt 
> somesubdir/subfile2.txt
> 
> the call to
> 
> PHYSFS_enumerateFiles ("/somesubdir/");
> 
> returns an empty list.
> 
> When either setting PHYSFS_permitSymbolicLinks(1) or omitting the 
> trailing '/' yields the expected results.
> 
> Is this intended?
> 
> Cheers, Martin _______________________________________________ 
> physfs mailing list physfs at icculus.org 
> http://icculus.org/mailman/listinfo/physfs
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQIcBAEBAgAGBQJS9jygAAoJEBIDTbbx8Yke9GcP/29x1w2K2tVyL6fiqq6wrQxZ
+rpSTp/LHCraXRa3Tlo5k2+aVVqRhJE6641hnUlfrCJI0Jeeo72pa3tRJhghp0Cl
KZDCD6mbocMje1EmWELz/fuREyYgqaiFx/9eEygEvagxm3YCpnprkUN/BDTpzwZ0
bA0ersFeUtfniBzdaKsw9fys9pqfR+1839q8cdJ4nWC8gni3zu1okhYHAh+jwF+p
gGuMjBnoCbOP4Twm9BOoWGQLDFMjNHuehQmbaP6PCb/fNa9EmYMpJFp5DbkjbPrb
YdVBKmjua0BubmFNorCOFPJQBK7m7dMlxZ1Mc1OfsFqOt5Gky9f2lljzd+BIAKUq
2J5tBOhI5XgbRq1EzpUTgI6QTi20l3Olp0oltzkm8ymeMS3gfNUPPE/Q22qOoVnZ
h3g4ah27BZPSMFp19tIfSnI2s55fCLT+hjgON1udnYAc935TrRZSqg8rAm73BoDZ
YfPlZNtka5PyFuDM5ozQmRAgz4c1SCbDPTEIMv46CAyigb3B+O5ed+yKnBwkmYoE
dpsSVxn7rAUdQLuLhAkNuXkqZJPk1WHt/6OqkLuWcIL14SY7Ed3JTvNXJKrWM2hK
YZpWl1dHJ8PN3OpnDkUkPtI1VkNIJ0b6oofnRyrpYHl1QrWOqBN4pkkKygZjxBxv
4mS6DKPHHkQo05ZxtZdD
=rlxI
-----END PGP SIGNATURE-----


More information about the physfs mailing list