curl-library
Re: curl errors to symbol string functions? was Re: libcurl smtp error list?
From: Gisle Vanem <gisle.vanem_at_gmail.com>
Date: Sat, 30 Jun 2018 07:33:21 +0200
Date: Sat, 30 Jun 2018 07:33:21 +0200
Richard Gray wrote:
> we can add the symbol
>
> XYZ037 Frambastat could not be initialized, errno = 226 (EADDRINUSE)
>
> which is more meaningful, particularly given that the higher errno values are different on different platforms. We
> could use strerror(), but it's messages are much longer and sometimes not quite right in the context of an error we get.
One would need to generate such an errno_table[]
for all supported (and unforeseen) compilers/targets.
Since most 'Ex' values are not unique among targets.
How can libcurl do that best? An included errno-file
for each target?
-- --gv ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2018-06-30