[physfs] PhysFS_Init fails on Windows 10 update 1809

Alex Szpakowski aszpakowski at gmail.com
Wed Oct 3 20:43:21 EDT 2018


(Apologies for not replying to the previous message about this issue, I just subscribed to this list so I’m not sure if it’s possible for me to reply to older messages.)

My project is having the same issue as http://icculus.org/pipermail/physfs/2018-October/001272.html <http://icculus.org/pipermail/physfs/2018-October/001272.html> in PhysFS 3.0 where PhysFS_Init doesn’t work for users running Windows 10 update 1809.

We took a slightly different approach to work around the issue. We tested GetUserProfileDirectory on Windows 7, Windows 10 pre-1809, and Windows 10 post-1809, and found that passing NULL as the second argument worked on all those platforms when querying the directory string length.

Here’s a mercurial commit in my project’s (in-tree) local copy of PhysFS which seems to fix the issue: https://bitbucket.org/rude/love/commits/b7375a6aed148aa0b259b6950a4536915c7c1360 <https://bitbucket.org/rude/love/commits/b7375a6aed148aa0b259b6950a4536915c7c1360>

- Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/physfs/attachments/20181003/3652df86/attachment.html>


More information about the physfs mailing list