summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strcoll.c
diff options
context:
space:
mode:
authorjsing <>2015-08-27 15:26:50 +0000
committerjsing <>2015-08-27 15:26:50 +0000
commitd621690a38473c22a65b4be34c24680f5148cd42 (patch)
treed2c2a8c6fc1b8da3c4117997a97ab03f0ac74f21 /src/lib/libc/string/strcoll.c
parentec56fcd75da47203f2a92e4a7ac2df5ec3da32be (diff)
downloadopenbsd-d621690a38473c22a65b4be34c24680f5148cd42.tar.gz
openbsd-d621690a38473c22a65b4be34c24680f5148cd42.tar.bz2
openbsd-d621690a38473c22a65b4be34c24680f5148cd42.zip
Improve libtls error messages.
The tls_set_error() function previously stored the errno but did nothing with it. Change tls_set_error() to append the strerror(3) of the stored errno so that we include useful information regarding failures. Provide a tls_set_errorx() function that does not store the errno or include strerror(3) in the error message. Call this function instead of tls_set_error() for errors where the errno value has no useful meaning. With feedback from and ok doug@
Diffstat (limited to 'src/lib/libc/string/strcoll.c')
0 files changed, 0 insertions, 0 deletions