Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
secilc.c: Don't fail if input file is empty
fread(3) returns zero if |size| is zero. This confuses secilc, and causes it to fail with a "Failure reading file" error, even though there is no error. Add a shortcut that closes and skips an input file if file size is zero. Signed-off-by: Yi-Yo Chiang <[email protected]>
- Loading branch information