Lines Matching defs:err
48 bool DepsLog::OpenForWrite(const string& path, string* err) {
50 if (!Recompact(path, err))
152 LoadStatus DepsLog::Load(const string& path, State* state, string* err) {
159 *err = strerror(errno);
174 *err = "deps log version change; rebuilding";
176 *err = "bad deps log signature or version; starting over";
262 *err = strerror(ferror(f));
264 *err = "premature end of file";
268 if (!Truncate(path, offset, err))
273 *err += "; recovering";
311 bool DepsLog::Recompact(const string& path, string* err) {
322 if (!new_log.OpenForWrite(temp_path, err))
352 *err = strerror(errno);
357 *err = strerror(errno);