errmsg 544 B

123456789101112
  1. Come up with a better error logging abstraction
  2. ====
  3. Something like the BSD err/warn/errx/warnx maybe, although taking into account
  4. all the stupid Windows GetLastError differences too. As it stands, different
  5. source files have different ways of prefixing messages, a lot of strings are
  6. pretty redundant (would maybe be nice to have something closer to the DJB-style
  7. concatenated string messages to solve that problem?), and almost nothing bothers
  8. to include the actual system error string because doing so is currently doing
  9. annoying.
  10. pls fix