Commit 17f4af9b authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Brad King
Browse files

SystemTools: Use octal base for error messages in permission test

It matches the chmod notation, and easier to read on test failure.
parent 7ab1c601
......@@ -290,6 +290,7 @@ static bool CheckFileOperations()
res = false;
}
std::cerr << std::oct;
// Reset umask
#if defined(_WIN32) && !defined(__CYGWIN__)
// NOTE: Windows doesn't support toggling _S_IREAD.
......@@ -496,6 +497,7 @@ static bool CheckFileOperations()
}
#endif
std::cerr << std::dec;
return res;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment