Skip to content

Commit

Permalink
Merge pull request #48 from Gottox/fix/obsd-endless-loop
Browse files Browse the repository at this point in the history
tools/fs-common: add TODO
  • Loading branch information
Gottox committed Aug 20, 2023
2 parents 2382ef3 + 6cdcf14 commit 87812e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/fs-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ fs_common_read(
// Reading a 0 size at the end of the file will return
// SQSH_ERROR_OUT_OF_BOUNDS. This should succeed instead,
// providing an empty buffer.
// TODO: Fix this in lib/reader/reader.c
if (size == 0) {
return 0;
}
Expand Down

0 comments on commit 87812e0

Please sign in to comment.