- 31 Aug, 2015 40 commits
-
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
Both functions can always fail. Even if the stream size is known, and larger than the requested bytes, reading can fail due to lower level errors. stream_Peek() can also fail to allocate memory. Not checking the return value is a bug.
-
Kazuki Yamaguchi authored
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Tristan Matthews authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
If the downloaded file is empty or of unknown size.
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
-
Rémi Denis-Courmont authored
Correctly reject non-regular files: previously, the code would get stuck on FIFOs, and ignore other types silently. Check that reading the file actually succeeds.
-
Rémi Denis-Courmont authored
This avoids reallocating and copying the block in block_Realloc() in some cases.
-
Rémi Denis-Courmont authored
Header size can reach UINT32_MAX.
-
Rémi Denis-Courmont authored
Unlike stream_Size(), this helper distinguishes between unknown and zero sizes.
-