[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] Debian GNU Hurd packaging branch, libpthread, updated. upstream/li
From: |
Samuel Thibault |
Subject: |
[SCM] Debian GNU Hurd packaging branch, libpthread, updated. upstream/libpthread/20100701-3-ga6bb8f8 |
Date: |
Thu, 02 Sep 2010 23:08:54 +0000 |
The following commit has been merged in the libpthread branch:
commit 8a6c26d9251d098156c8ae8c33ce9f6122cd3c96
Author: Samuel Thibault <address@hidden>
Date: Wed Sep 1 23:36:14 2010 +0200
Prevent pthread.h from exposing assert()
* sysdeps/generic/bits/cancelation.h: Do not include <assert.h>
(__pthread_cleanup_pop): Do not call `assert'.
diff --git a/sysdeps/generic/bits/cancelation.h
b/sysdeps/generic/bits/cancelation.h
index db9169a..46486f5 100644
--- a/sysdeps/generic/bits/cancelation.h
+++ b/sysdeps/generic/bits/cancelation.h
@@ -20,8 +20,6 @@
#ifndef _BITS_CANCELATION_H
#define _BITS_CANCELATION_H 1
-#include <assert.h>
-
struct __pthread_cancelation_handler
{
void (*handler)(void *);
@@ -47,7 +45,6 @@ struct __pthread_cancelation_handler
**__pthread_get_cleanup_stack (void);
#define __pthread_cleanup_pop(execute) \
if (execute) \
__handler.handler (__handler.arg); \
- assert (*__handlers == &__handler); \
*__handlers = __handler.next; \
}
--
Debian GNU Hurd packaging
- [SCM] Debian GNU Hurd packaging branch, libpthread, updated. upstream/libpthread/20100701-3-ga6bb8f8,
Samuel Thibault <=