summaryrefslogtreecommitdiffstats
path: root/contrib/apr/threadproc/unix/thread.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2013-07-28 06:02:40 +0000
committerpeter <peter@FreeBSD.org>2013-07-28 06:02:40 +0000
commit0aadc82afbae4dbc41da86cd4f9b2ceb8ddcb17d (patch)
tree6a96e078c28ea05d418b4e2722bc03b0b930a78b /contrib/apr/threadproc/unix/thread.c
parent7594fa5c70305cda65deedc5cc7e08dc037727cd (diff)
parentb910f82d487cf989800adbd1a65b3a7f71b46277 (diff)
downloadFreeBSD-src-0aadc82afbae4dbc41da86cd4f9b2ceb8ddcb17d.zip
FreeBSD-src-0aadc82afbae4dbc41da86cd4f9b2ceb8ddcb17d.tar.gz
Update subversion-1.8.0 -> 1.8.1. Update supporting
components: apr-1.4.6 -> 1.4.8 and apr-util-1.4.1 -> 1.5.2. This is a post point-zero bug-fix / fix-sharp-edges release, including some workarounds for UTF-8 for people who haven't yet turned on WITH_ICONV.
Diffstat (limited to 'contrib/apr/threadproc/unix/thread.c')
-rw-r--r--contrib/apr/threadproc/unix/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/apr/threadproc/unix/thread.c b/contrib/apr/threadproc/unix/thread.c
index 5639ac7..6d060be 100644
--- a/contrib/apr/threadproc/unix/thread.c
+++ b/contrib/apr/threadproc/unix/thread.c
@@ -96,7 +96,7 @@ APR_DECLARE(apr_status_t) apr_threadattr_detach_get(apr_threadattr_t *attr)
#else
pthread_attr_getdetachstate(&attr->attr, &state);
#endif
- if (state == 1)
+ if (state == DETACH_ARG(1))
return APR_DETACH;
return APR_NOTDETACH;
}
OpenPOWER on IntegriCloud