summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-12-08 19:28:01 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2023-05-13 14:09:23 +0100
commitce488be46e4cd2aeeb69c39a062fae1ba9a302f6 (patch)
tree86590bcb9137e147f5fd0c290de27363cc5772cc /include
parent4be63a68667d3c75a3da36b3bc8045459a360906 (diff)
downloadlibgit2-ce488be46e4cd2aeeb69c39a062fae1ba9a302f6.tar.gz
errors: don't rely on tls data working
Thread-local storage data may fail to initialize; in this case, do not try to set the error message into it. When the thread state has not been initialized, return a hardcoded message to that affect.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions