1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-17 07:52:43 +01:00

* `nix --dump' command.

This commit is contained in:
Eelco Dolstra 2003-06-18 14:34:43 +00:00
parent aeaffec785
commit 38e12df631
2 changed files with 28 additions and 4 deletions

View file

@ -21,7 +21,8 @@ struct MySink : DumpSink
{
virtual void operator () (const unsigned char * data, unsigned int len)
{
cout.write((char *) data, len);
/* Don't use cout, it's slow as hell! */
write(STDOUT_FILENO, (char *) data, len);
}
};