From f4021bd84ba008fd1a6b1d21a9782b97fb26120f Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Mon, 30 May 2022 04:20:26 +0100 Subject: File a complaint about the error message situation --- TODO/errmsg | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 TODO/errmsg (limited to 'TODO/errmsg') diff --git a/TODO/errmsg b/TODO/errmsg new file mode 100644 index 0000000..51b8aae --- /dev/null +++ b/TODO/errmsg @@ -0,0 +1,11 @@ +Come up with a better error logging abstraction +==== +Something like the BSD err/warn/errx/warnx maybe, although taking into account +all the stupid Windows GetLastError differences too. As it stands, different +source files have different ways of prefixing messages, a lot of strings are +pretty redundant (would maybe be nice to have something closer to the DJB-style +concatenated string messages to solve that problem?), and almost nothing bothers +to include the actual system error string because doing so is currently doing +annoying. + +pls fix -- cgit v1.2.3