mirror of
https://github.com/troglobit/libite.git
synced 2026-11-14 19:03:05 +00:00
Preserve binary data when copying file streams
Copy the bytes returned by fread instead of treating each input chunk as a NUL-terminated string. Preserve the public stream positions and report read and write failures rather than returning success after a partial copy. Add binary boundary, current-position, native pipe error and full-device regression coverage.
This commit is contained in:
1 parent
b69d8a6013
commit
2dfc02e67d
4 files changed
+110
-5
No files matched your search
@@ -19,6 +19,7 @@ clean-local:
|
||||
TESTS =
|
||||
TESTS += chomp
|
||||
TESTS += copyfile
|
||||
TESTS += fcopyfile
|
||||
TESTS += dir
|
||||
TESTS += fexist
|
||||
TESTS += fisdir
|
||||
|
||||
Reference in new issue
Block a user