lix/src
John Ericson 2f5c913d4a Fix #5299
No matter what, we need to resize the buffer to not have any scratch
space after we do the `read`. In the end of file case, `got` will be 0
from it's initial value.

Before, we forgot to resize in the EOF case with the break. Yes, we know
we didn't recieve any data in that case, but we still have the scatch
space to undo.

Co-Authored-By: Will Fancher <Will.Fancher@Obsidian.Systems>
2021-11-30 22:11:46 +00:00
..
build-remote build-remote: Implicitly add the 'builtin' system type to all machines 2021-10-27 14:25:13 +02:00
cpptoml Revert the enum struct change 2020-06-18 22:11:26 +00:00
libcmd Don’t try to complete flakes is the feature isn’t enabled 2021-11-26 16:56:51 +01:00
libexpr Don't move the arguments of the primOp 2021-11-28 02:06:47 +01:00
libfetchers Merge pull request #5452 from Kha/git-extend-lock 2021-11-16 12:55:12 +01:00
libmain Merge pull request #5384 from baloo/baloo/dns-timeout 2021-11-25 17:37:53 +01:00
libstore Fix #5299 2021-11-30 22:11:46 +00:00
libutil createTempFile(): Mark file as CLOEEXEC 2021-11-29 11:20:50 +01:00
nix Fix typo 2021-11-27 23:29:48 +03:00
nix-build Make nix-shell work when nixpkgs is content-addressed 2021-11-26 09:56:48 +01:00
nix-channel Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-collect-garbage Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-copy-closure copyPaths: Pass store by reference 2021-07-22 09:59:51 +02:00
nix-env Support range-based for loop over list values 2021-11-25 16:31:39 +01:00
nix-instantiate Merge pull request #5428 from kreisys/add-pos-to-json-type-error 2021-11-15 07:57:46 -06:00
nix-store nix-store --serve: pass on settings.keepFailed from SSH store 2021-08-31 13:11:46 +02:00
nlohmann nlohmann_json: Update to 3.9.1, fix use of internal copy 2021-07-15 12:25:53 +02:00
resolve-system-dependencies Apply OS checks to host platform, not build 2021-06-23 15:00:36 +00:00