From 0d4fb3da116f6e6704bb8bafe11f4ff865ec6aea Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 25 Mar 2009 08:15:19 +0100 Subject: added TODOS on problems with the current logging of errno and GetLastError --- docs/log/TODOS | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/log') diff --git a/docs/log/TODOS b/docs/log/TODOS index 06a4c20..3f410b7 100644 --- a/docs/log/TODOS +++ b/docs/log/TODOS @@ -1,3 +1,10 @@ +- remove strerror and strerror_r calls in daemon code, replace with + wolf_log_strerror; also clean up gettext po files with strerror string + in message string (which is wrong) +- fix new_formatstr, we can't append the FormatStr or strerror_r buffer + there! Otherwise GetLastError and the message won't show up in the + event log! Maybe have a format string with a %s (%d) placeholder in the + end? - rewrite and clean up, make logging channels, make logging re-entrant (error in one channel should be logged on all other available channels) - local localized error handling (GetLastError and strerror_r strings) -- cgit v1.2.3-54-g00ecf