[Glibc-bsd-commits] r5131 - trunk/glibc-ports/fbtl
Petr Salinger
ps-guest at alioth.debian.org
Fri Nov 8 17:33:38 UTC 2013
Author: ps-guest
Date: 2013-11-08 17:33:38 +0000 (Fri, 08 Nov 2013)
New Revision: 5131
Modified:
trunk/glibc-ports/fbtl/pthread_create.c
trunk/glibc-ports/fbtl/sem_open.c
Log:
remove some pre 2.18 hacks
Modified: trunk/glibc-ports/fbtl/pthread_create.c
===================================================================
--- trunk/glibc-ports/fbtl/pthread_create.c 2013-11-08 17:32:53 UTC (rev 5130)
+++ trunk/glibc-ports/fbtl/pthread_create.c 2013-11-08 17:33:38 UTC (rev 5131)
@@ -310,14 +310,11 @@
#endif
}
-#warning call_tls_dtors will be available with 2.18 upload
-#if 0
/* Call destructors for the thread_local TLS variables. */
#ifndef SHARED
if (&__call_tls_dtors != NULL)
#endif
__call_tls_dtors ();
-#endif
/* Run the destructor for the thread-local data. */
__nptl_deallocate_tsd ();
@@ -463,12 +460,7 @@
if (cpusetsize > 0)
{
cpu_set_t *cpuset;
-#if 0
if (__glibc_likely (__libc_use_alloca (cpusetsize)))
-#else
-#warning wait for 2.18
- if ((__libc_use_alloca (cpusetsize)))
-#endif
cpuset = __alloca (cpusetsize);
else
{
Modified: trunk/glibc-ports/fbtl/sem_open.c
===================================================================
--- trunk/glibc-ports/fbtl/sem_open.c 2013-11-08 17:32:53 UTC (rev 5130)
+++ trunk/glibc-ports/fbtl/sem_open.c 2013-11-08 17:33:38 UTC (rev 5131)
@@ -382,10 +382,6 @@
since the file must be opened with a specific mode. The
mode cannot later be set since then we cannot apply the
file create mask. */
-#if 1
-#warning drop it after 2.18 sync
-#define __mktemp mktemp
-#endif
if (__mktemp (tmpfname) == NULL)
return SEM_FAILED;
More information about the Glibc-bsd-commits
mailing list