mirror of
https://github.com/NixOS/nix
synced 2025-07-08 02:43:54 +02:00
* Argh, another short-write problem. Added wrappers around
read()/write() to fix this once and for all.
This commit is contained in:
parent
667a6afb9d
commit
7984cfc7c1
9 changed files with 46 additions and 36 deletions
|
@ -54,7 +54,7 @@ struct RestoreSource
|
|||
pointed to by data. It should block if that much data is not
|
||||
yet available, or throw an error if it is not going to be
|
||||
available. */
|
||||
virtual void operator () (const unsigned char * data, unsigned int len) = 0;
|
||||
virtual void operator () (unsigned char * data, unsigned int len) = 0;
|
||||
};
|
||||
|
||||
void restorePath(const string & path, RestoreSource & source);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue