mirror of
https://github.com/NixOS/nix
synced 2025-06-27 08:31:16 +02:00
Process stderr from substituters while doing have/info queries
This commit is contained in:
parent
c5f9d0d080
commit
5959c591a0
4 changed files with 59 additions and 9 deletions
|
@ -90,6 +90,12 @@ size_t BufferedSource::read(unsigned char * data, size_t len)
|
|||
}
|
||||
|
||||
|
||||
bool BufferedSource::hasData()
|
||||
{
|
||||
return bufPosOut < bufPosIn;
|
||||
}
|
||||
|
||||
|
||||
size_t FdSource::readUnbuffered(unsigned char * data, size_t len)
|
||||
{
|
||||
ssize_t n;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue