diff options
author | Wan-Teh Chang <wtc@google.com> | 2014-04-26 06:32:26 -0700 |
---|---|---|
committer | Wan-Teh Chang <wtc@google.com> | 2014-04-26 06:32:26 -0700 |
commit | a63c5251c8c69362a73eef0021af15fb4a302307 (patch) | |
tree | 8bb9ba50613ab8217bcf28b439c450cfedf8d1ae | |
parent | beec0f3dbc79b39895bfa8dbfd02d7d5c457309a (diff) | |
download | nspr-hg-a63c5251c8c69362a73eef0021af15fb4a302307.tar.gz |
Bug 844784: Don't map pthread_mutex_init or pthread_cond_init errorNSPR_4_10_5_BETA4
to PR_OPERATION_NOT_SUPPORTED_ERROR. r=jcranmer.
-rw-r--r-- | pr/src/pthreads/ptsynch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/src/pthreads/ptsynch.c b/pr/src/pthreads/ptsynch.c index da1d6a85..03c5720e 100644 --- a/pr/src/pthreads/ptsynch.c +++ b/pr/src/pthreads/ptsynch.c @@ -514,7 +514,7 @@ error2: pthread_mutex_destroy(&mon->lock); error1: PR_Free(mon); - PR_SetError(PR_OPERATION_NOT_SUPPORTED_ERROR, 0); + _PR_MD_MAP_DEFAULT_ERROR(rv); return NULL; } /* PR_NewMonitor */ |