Differences From Artifact [ec14d28310]:
- File
src/OFFile.m
— part of check-in
[36434923ad]
at
2011-10-07 11:19:58
on branch trunk
— Don't depend on OFMutex in OFFile.
+[load] creates 3 instances of OFFile and thus +[initialize] is also
called. This causes problems if OFMutex has not been registered with
the runtime yet. It had been fixed by changing the order of .o files,
but this is too fragile and thus it has been changed to use of_mutex_t. (user: js, size: 17671) [annotate] [blame] [check-ins using]
To Artifact [8775f73861]:
- File src/OFFile.m — part of check-in [8ed8b90cd8] at 2011-12-21 20:05:17 on branch trunk — Work around a bug with Clang + glibc. (user: js, size: 17773) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
13 14 15 16 17 18 19 20 21 22 23 24 25 26 | * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" #define __NO_EXT_QNX #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include <unistd.h> | > > > > > | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" #define __NO_EXT_QNX /* Work around a bug with Clang + glibc */ #ifdef __clang__ # define _HAVE_STRING_ARCH_strcmp #endif #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include <unistd.h> |
︙ | ︙ |