This website works better with JavaScript.
Home
Explore
Sign In
mahta.fetrat
/
HomoFast-eSpeak-Persian
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Return the actual error from GetFileLength instead of 0.
master
Reece H. Dunn
8 years ago
parent
df6a2228b7
commit
3ce7fab7db
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
1
1
src/libespeak-ng/speech.c
+ 1
- 1
src/libespeak-ng/speech.c
View File
@@ -281,7 +281,7 @@ int GetFileLength(const char *filename)
struct stat statbuf;
if (stat(filename, &statbuf) != 0)
return
0
;
return
-errno
;
if (S_ISDIR(statbuf.st_mode))
return -EISDIR;
Write
Preview
Loading…
Cancel
Save