[SERVER-44995] lookup table of errno macro names for logging Created: 06/Dec/19 Updated: 06/Dec/22 Resolved: 23/Jan/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Billy Donahue | Assignee: | DO NOT USE - Backlog - Dev Tools |
| Resolution: | Won't Fix | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Assigned Teams: |
Developer Tools
|
| Participants: |
| Description |
|
strerror(EINTR) gives us "Interrupted system call", but sometimes we really want "EINTR". This is how the `errno` tool (from moreutils) generates the list of errno values.
|
| Comments |
| Comment by Billy Donahue [ 06/Dec/19 ] |
|
Ran the above code once on Linux errnos-linux.h |