Fix two error paths
authorAndreas Gruenbacher <andreas.gruenbacher@gmail.com>
Wed, 9 Jul 2014 17:37:33 +0000 (19:37 +0200)
committerAndreas Gruenbacher <andreas.gruenbacher@gmail.com>
Wed, 9 Jul 2014 17:37:33 +0000 (19:37 +0200)
commit3ce3ad33ea92d9a4b032566249a3ad86dc3bd2a7
treee390512ab14bae67f74f516722d6ad1a3bbe17dc
parentebea21332ee7d7d12f17cbe9718611bcec558210
Fix two error paths

In generic_open_file(), when an error is detected, return 1 to indicate
the failure.

In get_file_sizes(), when an error other than ENOENT is detected, fail
immediately and don't clear the error.
filesetup.c