Use lstat() instead of stat() for POSIX __PHYSFS_platformStat().
This commit is contained in:
parent
7f0e7105a7
commit
125c170f7d
|
@ -396,8 +396,7 @@ int __PHYSFS_platformStat(const char *filename, int *exists, PHYSFS_Stat *st)
|
|||
{
|
||||
struct stat statbuf;
|
||||
|
||||
/* !!! FIXME: lstat()? */
|
||||
if (stat(filename, &statbuf))
|
||||
if (lstat(filename, &statbuf))
|
||||
{
|
||||
if (errno == ENOENT)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue