projects
/
imagemagick
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38d6242
)
(no commit message)
author
cristy
<urban-warrior@git.imagemagick.org>
Fri, 18 Jan 2013 00:41:36 +0000
(
00:41
+0000)
committer
cristy
<urban-warrior@git.imagemagick.org>
Fri, 18 Jan 2013 00:41:36 +0000
(
00:41
+0000)
MagickCore/semaphore.c
patch
|
blob
|
history
diff --git
a/MagickCore/semaphore.c
b/MagickCore/semaphore.c
index 927e998378f3bf743f978af004df896b07742580..25c623b1dfb54caf18f3baf5c30911879408ef1e 100644
(file)
--- a/
MagickCore/semaphore.c
+++ b/
MagickCore/semaphore.c
@@
-299,8
+299,8
@@
MagickExport void DestroySemaphoreInfo(SemaphoreInfo **semaphore_info)
status=pthread_mutex_destroy(&(*semaphore_info)->mutex);
if (status != 0)
{
-
errno=status
;
-
ThrowFatalException(ResourceLimitFatalError,"UnableToDestroySemaphore"
);
+
perror("unable to destroy semaphore")
;
+
_exit(1
);
}
}
#elif defined(MAGICKCORE_HAVE_WINTHREADS)