aboutsummaryrefslogtreecommitdiff
path: root/src/util/syserror.h
AgeCommit message (Collapse)Author
2023-06-30Show descriptive error messages when FileCommit failsJohn Moffett
Only raw errno codes are logged if FileCommit fails. These are implementation-specific, so it makes it harder to debug based on user reports. Instead, use SysErrorString to display both the raw int value and the descriptive message.
2022-04-28util: Replace non-threadsafe strerrorlaanwj
Some uses of non-threadsafe `strerror` have snuck into the code since they were removed in #4152. Add a wrapper `SysErrorString` for thread-safe strerror alternatives and replace all uses of `strerror` with this.