1
0
Fork 0
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:
Eelco Dolstra 2013-06-07 15:02:14 +02:00
parent c5f9d0d080
commit 5959c591a0
4 changed files with 59 additions and 9 deletions

View file

@ -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;