diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-04-19 11:24:33 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-04-22 02:47:38 +0200 |
commit | 621b3351798f5c78c5907bcfbc10217a63c4ae3f (patch) | |
tree | f480c9f3afb40b3b0a7ec2ad95dbd92302605f95 /%3fid%3dddd0cb21fa223b7c410805868380301b31714812?id=621b3351798f5c78c5907bcfbc10217a63c4ae3f | |
parent | 371f20e6315715c9af3df3ef7dbbe8db46dd6347 (diff) |
Return -1 in io_file_is_empty() if file cannot be accessed.
Ensure files don't appear as empty if fopen() fails (e.g. on temporary
EACCES failures).
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to '%3fid%3dddd0cb21fa223b7c410805868380301b31714812?id=621b3351798f5c78c5907bcfbc10217a63c4ae3f')
0 files changed, 0 insertions, 0 deletions