]> err.no Git - sope/commitdiff
gnu runtime bugfix
authorznek <znek@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Sun, 17 Dec 2006 16:51:50 +0000 (16:51 +0000)
committerznek <znek@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Sun, 17 Dec 2006 16:51:50 +0000 (16:51 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1392 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-core/EOControl/ChangeLog
sope-core/EOControl/EOControl.xcodeproj/project.pbxproj
sope-core/EOControl/EOKeyValueCoding.m
sope-core/EOControl/Version

index e742bdf520b09365c02f172bedf5cee76a171a99..d38d293920aed1cb0f313883b23973ae83392113 100644 (file)
@@ -1,3 +1,8 @@
+2006-12-17  Marcus Mueller  <znek@mulle-kybernetik.com>
+
+       * EOKeyValueCoding.m: fixed a runtime portability issue - removed
+         +initialize on NSArray category (v4.5.71)
+
 2006-12-02  Marcus Mueller  <znek@mulle-kybernetik.com>
 
        * EOKeyValueCoding.m: fixed numerous bugs in the computeXXX: methods
index 46ba9dd9b1975c932614c2807f50e1aab45b9a3d..a356bec4804be800eb28781be65405a5ddad955b 100644 (file)
                        buildSettings = {
                                COPY_PHASE_STRIP = NO;
                                DYLIB_COMPATIBILITY_VERSION = 1;
-                               DYLIB_CURRENT_VERSION = 4.5.70;
+                               DYLIB_CURRENT_VERSION = 4.5.71;
                                FRAMEWORK_VERSION = A;
                                GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
                                GCC_OPTIMIZATION_LEVEL = 0;
                                DEPLOYMENT_POSTPROCESSING = YES;
                                DSTROOT = /;
                                DYLIB_COMPATIBILITY_VERSION = 1;
-                               DYLIB_CURRENT_VERSION = 4.5.70;
+                               DYLIB_CURRENT_VERSION = 4.5.71;
                                DYLIB_INSTALL_NAME_BASE = "@executable_path/../Frameworks/";
                                FRAMEWORK_SEARCH_PATHS = "$(USER_LIBRARY_DIR)/EmbeddedFrameworks";
                                FRAMEWORK_VERSION = A;
                        isa = XCBuildConfiguration;
                        buildSettings = {
                                DYLIB_COMPATIBILITY_VERSION = 1;
-                               DYLIB_CURRENT_VERSION = 4.5.70;
+                               DYLIB_CURRENT_VERSION = 4.5.71;
                                FRAMEWORK_VERSION = A;
                                GCC_PRECOMPILE_PREFIX_HEADER = YES;
                                GCC_PREFIX_HEADER = common.h;
index c790f6149110df63b80279eaffb96c9acfc105eb..7d9f24d1adbcf6a86dc14f3dc64e925bbecda8a5 100644 (file)
@@ -1420,20 +1420,15 @@ static void doubleIvarSetFunc(void* info1, void* info2, id self, id val) {
 
 @implementation NSArray(EOKeyValueCoding)
 
-static Class NSDecimalNumberClass = Nil;
-
-+ (void)initialize {
-  static BOOL didInit = NO;
-  if (didInit) return;
-  didInit = YES;
-  NSDecimalNumberClass = [NSDecimalNumber class];
-}
-
 - (id)computeSumForKey:(NSString *)_key {
+  static Class    NSDecimalNumberClass;
   id              (*objAtIdx)(id, SEL, unsigned int);
   unsigned        i, cc = [self count];
   NSDecimalNumber *sum;
 
+  if (NSDecimalNumberClass == Nil)
+    NSDecimalNumberClass = [NSDecimalNumber class];
+
   sum = [NSDecimalNumber zero];
   if (cc == 0) return sum;
 
index 51ff5d2326a8492693f01a86a5e3a5ee4e262419..1adf4e06004ad49e23a88dea757432a09b345259 100644 (file)
@@ -1,3 +1,3 @@
 # version file
 
-SUBMINOR_VERSION:=70
+SUBMINOR_VERSION:=71