printMsg(): Don't check for interrupts
Having the logger function potentially throw exceptions is Heisenbuggy.
This commit is contained in:
		
							parent
							
								
									2e1493037b
								
							
						
					
					
						commit
						054be50257
					
				
					 3 changed files with 15 additions and 17 deletions
				
			
		|  | @ -120,8 +120,8 @@ void replaceSymlink(const Path & target, const Path & link); | |||
| /* Wrappers arount read()/write() that read/write exactly the
 | ||||
|    requested number of bytes. */ | ||||
| void readFull(int fd, unsigned char * buf, size_t count); | ||||
| void writeFull(int fd, const unsigned char * buf, size_t count); | ||||
| void writeFull(int fd, const string & s); | ||||
| void writeFull(int fd, const unsigned char * buf, size_t count, bool allowInterrupts = true); | ||||
| void writeFull(int fd, const string & s, bool allowInterrupts = true); | ||||
| 
 | ||||
| MakeError(EndOfFile, Error) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue