Merge from 2.3
parent
efbf48317f
commit
efffd21c36
|
@ -1,3 +1,4 @@
|
|||
leak:libheif.so.1
|
||||
leak:libde265.so.0
|
||||
leak:libx265.so.179
|
||||
leak:libfontconfig.so.1
|
|
@ -88,13 +88,13 @@ int gdTestIsDir(char *path) {
|
|||
return 0;
|
||||
}
|
||||
if (data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) {
|
||||
return 0;
|
||||
} else {
|
||||
return 1;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
struct stat st;
|
||||
if (lstat(path, &st) != 0)
|
||||
if (lstat(path, &st) == 0)
|
||||
|
||||
if (S_ISDIR(st.st_mode))
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue