mirror of
https://github.com/NixOS/nix
synced 2025-06-29 19:03:16 +02:00
Don't use std::cerr in a few places
Slightly scared of using std::cerr in a vforked process...
This commit is contained in:
parent
3acc8adcad
commit
8541d27fce
5 changed files with 34 additions and 30 deletions
|
@ -148,7 +148,9 @@ void printMsg_(Verbosity level, const format & f);
|
|||
|
||||
void warnOnce(bool & haveWarned, const format & f);
|
||||
|
||||
extern void (*writeToStderr) (const unsigned char * buf, size_t count);
|
||||
void writeToStderr(const string & s);
|
||||
|
||||
extern void (*_writeToStderr) (const unsigned char * buf, size_t count);
|
||||
|
||||
|
||||
/* Wrappers arount read()/write() that read/write exactly the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue