Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gzgetc returns -1 for both an error and EOF. If the file is empty, it will appear on the first character, so add an check that the the -1 is being found on the first character instead of at any point.
- Loading branch information