commit | 0cbde643eb29c8bf19eb8551ac8e821f7f733212 | [log] [tgz] |
---|---|---|
author | Timothy Arceri <tarceri@itsqueeze.com> | Sat Feb 11 22:32:47 2017 +1100 |
committer | Emil Velikov <emil.l.velikov@gmail.com> | Mon Feb 13 10:01:12 2017 +0000 |
tree | ff92b236cebd2654d4bb232a38d20419afd21e5b | |
parent | 0f53404565b9ef9da9d7022b5732463acd496742 [diff] |
util/disk_cache: correctly use stat(3) I forgot to error check stat() and also I wasn't using the subdir in is_two_character_sub_directory(). Fixes: d7b3707c612 "util/disk_cache: use stat() to check if entry is a directory" Reviewed-by: Plamena Manolova <plamena.manolova@intel.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>