Commit 47e9174
committed
Fix NAR parsing failure when not enough input is available
Replaces `hGetSome` with `hGet`, which should continue reading until the
requested number of bytes have been read in. This avoids a potential
failure mode where the requested bytes are not immediately
available/buffered.
Resolves #225.1 parent f0dfc6d commit 47e9174
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
424 | | - | |
| 424 | + | |
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
| |||
0 commit comments