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;
|
struct stat statbuf;
|
||||||
|
|
||||||
/* !!! FIXME: lstat()? */
|
if (lstat(filename, &statbuf))
|
||||||
if (stat(filename, &statbuf))
|
|
||||||
{
|
{
|
||||||
if (errno == ENOENT)
|
if (errno == ENOENT)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue