compilefix
This commit is contained in:
parent
c4d8e9c8e1
commit
2f9cce3687
1 changed files with 1 additions and 1 deletions
|
@ -473,7 +473,7 @@ string read_file(const string& filename) {
|
||||||
if (it != file_cache.end())
|
if (it != file_cache.end())
|
||||||
return it->second;
|
return it->second;
|
||||||
|
|
||||||
stat s;
|
struct stat s;
|
||||||
stat(filename.c_str(), &s);
|
stat(filename.c_str(), &s);
|
||||||
|
|
||||||
if (! (s.st_mode & S_IFREG))
|
if (! (s.st_mode & S_IFREG))
|
||||||
|
|
Loading…
Reference in a new issue