about summary refs log tree commit diff
path: root/src/time/ctime_r.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-04-23 12:03:31 -0400
committerRich Felker <dalias@aerifal.cx>2012-04-23 12:03:31 -0400
commita5d10eb1f587a13a513504ffb5d8e6a8738eee6f (patch)
treea83002de87443fc6c9124288c3864595b6172735 /src/time/ctime_r.c
parent90da74ef51ddd51924042ee42b5e766908e9980c (diff)
downloadmusl-a5d10eb1f587a13a513504ffb5d8e6a8738eee6f.tar.gz
musl-a5d10eb1f587a13a513504ffb5d8e6a8738eee6f.tar.xz
musl-a5d10eb1f587a13a513504ffb5d8e6a8738eee6f.zip
make dlerror produce informative results
note that dlerror is specified to be non-thread-safe, so no locking is
performed on the error flag or message aside from the rwlock already
held by dlopen or dlsym. if 2 invocations of dlsym are generating
errors at the same time, they could clobber each other's results, but
the resulting string, albeit corrupt, will still be null-terminated.
any use of dlerror in such a situation could not be expected to give
meaningful results anyway.
Diffstat (limited to 'src/time/ctime_r.c')
0 files changed, 0 insertions, 0 deletions