]> git.saurik.com Git - apple/cf.git/commitdiff
CF-550.19.tar.gz mac-os-x-1063 mac-os-x-1064 v550.19 v550.29
authorApple <opensource@apple.com>
Thu, 1 Apr 2010 23:13:34 +0000 (23:13 +0000)
committerApple <opensource@apple.com>
Thu, 1 Apr 2010 23:13:34 +0000 (23:13 +0000)
135 files changed:
CFApplicationPreferences.c
CFArray.c
CFArray.h
CFBag.c
CFBag.h
CFBase.c
CFBase.h
CFBasicHash.h
CFBasicHash.m
CFBinaryHeap.c
CFBinaryHeap.h
CFBinaryPList.c
CFBitVector.c
CFBitVector.h
CFBuiltinConverters.c
CFBundle.c
CFBundle.h
CFBundlePriv.h
CFBundle_BinaryTypes.h
CFBundle_Internal.h
CFBundle_Resources.c
CFByteOrder.h
CFCalendar.c
CFCalendar.h
CFCharacterSet.c
CFCharacterSet.h
CFCharacterSetPriv.h
CFConcreteStreams.c
CFData.c
CFData.h
CFDate.c
CFDate.h
CFDateFormatter.c
CFDateFormatter.h
CFDictionary.c
CFDictionary.h
CFError.c
CFError.h
CFError_Private.h
CFFileUtilities.c
CFICUConverters.c
CFICUConverters.h
CFInternal.h
CFLocale.c
CFLocale.h
CFLocaleIdentifier.c
CFLocaleInternal.h
CFLocaleKeys.m
CFLogUtilities.h
CFMachPort.c
CFMachPort.h
CFMessagePort.c
CFMessagePort.h
CFNumber.c
CFNumber.h
CFNumberFormatter.c
CFNumberFormatter.h
CFPlatform.c
CFPlatformConverters.c
CFPlugIn.c
CFPlugIn.h
CFPlugInCOM.h
CFPlugIn_Factory.c
CFPlugIn_Factory.h
CFPlugIn_Instance.c
CFPlugIn_PlugIn.c
CFPreferences.c
CFPreferences.h
CFPriv.h
CFPropertyList.c
CFPropertyList.h
CFRunLoop.c
CFRunLoop.h
CFRuntime.c
CFRuntime.h
CFSet.c
CFSet.h
CFSocket.c
CFSocket.h
CFSocketStream.c
CFSortFunctions.c
CFStorage.c
CFStorage.h
CFStream.c
CFStream.h
CFStreamAbstract.h
CFStreamInternal.h
CFStreamPriv.h
CFString.c
CFString.h
CFStringDefaultEncoding.h
CFStringEncodingConverter.c
CFStringEncodingConverter.h
CFStringEncodingConverterExt.h
CFStringEncodingConverterPriv.h
CFStringEncodingDatabase.c
CFStringEncodingDatabase.h
CFStringEncodingExt.h
CFStringEncodings.c
CFStringScanner.c
CFStringUtilities.c
CFSystemDirectories.c
CFTimeZone.c
CFTimeZone.h
CFTree.c
CFTree.h
CFURL.c
CFURL.h
CFURLAccess.c
CFURLAccess.h
CFUUID.c
CFUUID.h
CFUniChar.c
CFUniChar.h
CFUniCharPriv.h
CFUnicodeDecomposition.c
CFUnicodeDecomposition.h
CFUnicodePrecomposition.c
CFUnicodePrecomposition.h
CFUserNotification.c
CFUserNotification.h
CFUtilities.c
CFVersion.c
CFXMLInputStream.c
CFXMLInputStream.h
CFXMLNode.c
CFXMLNode.h
CFXMLParser.c
CFXMLParser.h
CFXMLPreferencesDomain.c
CFXMLTree.c
CoreFoundation.h
CoreFoundation_Prefix.h
ForFoundationOnly.h
Info.plist

index 985e7e4ea0b9409f9ba1f0df4973675564f3ddb9..864f0c74ac3fd92476559ac580b40993adcf63ba 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index f09f90c389ac916ea6c00a06172a3562cf5ca465..dced26d2371624ea54fdde4207b0f9d93aa6c85e 100644 (file)
--- a/CFArray.c
+++ b/CFArray.c
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 96281d1a7b472f2ed05bb3186069c0ef15fad156..6e1f843451114f01c6ab83795db2799ce0cf10f8 100644 (file)
--- a/CFArray.h
+++ b/CFArray.h
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
diff --git a/CFBag.c b/CFBag.c
index d7088441697ea507cb94c9bd6c981487aa7d94e3..facf851ee8e82b9958a1f817d4034bd3b39e3647 100644 (file)
--- a/CFBag.c
+++ b/CFBag.c
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
diff --git a/CFBag.h b/CFBag.h
index 21460ca4dd9f26ab01cba6e768eb1d8d2f3ca716..d56d54e585b34a5f493c4fdf1c6517a2412542b6 100644 (file)
--- a/CFBag.h
+++ b/CFBag.h
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index daeb79025ecb9eef59c97a7e2ddedbf9307ce40c..584dc4bb1b87493a2b26d1166e7d1b2e66c4ffb6 100644 (file)
--- a/CFBase.c
+++ b/CFBase.c
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 9cb933c62fc0449e111a315f6c6f967d56bc3b9d..b046940ae2e2b8c8fc9017e3fa199b18ed52df80 100644 (file)
--- a/CFBase.h
+++ b/CFBase.h
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 856a2cfcef8da1ecfd27414899104edb8510710e..b959da311102f8691203b7dd832f670555de4c26 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index b101220c75a6d2a619a0472e03562afd5ce92b87..f932d5fd7e620fbbd0112179e9402587b8b5d3ab 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index f7ad579729554f7963b8301e5a4df7fc0f7f3138..6203df3e1bd2fc030f12edfb4f25983dcff066ed 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index d71a83969f195f4948d553874221b9fadc199026..a5e2cc611c10d49e86c3dc20171c826b5d6b0cab 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 9a29a14726230ef6ea1eeb0888ee44cff6642bd4..4ca94c864312ff6b7e01eff15a12b24dd44efb1c 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 4a11fba9c60cc0ac21903ecfa3a56c87038ec77e..cc319c63e2758c76dd49639713a53a145f96f21a 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 2802cf08cb3eba7edf5facbe44217fdb6bdb00f8..b5c5851942d9e6dd57c9ec318c466182a3b27f28 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index f60f727eeaf71bac9bd91a3498ae84e72fcbc4e6..49e0a67f7e63a30b4ce07bfff9599eeb562e4fc8 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 6921cbd418675e1ffdaf6d47576805150949bdb8..4b29fb400ea284c24ab7833c41faa01b2900fcac 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 592c0662981b49a9a13b6165b26732938a907402..04b13671aff893dfef5817161ff8ec7b291f5539 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 7d427e97e8bd36e1edfc641b091415e7aac538c5..fb43736137013a2b7fbc279af5256efd50fb05b1 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index a0fa7fc3a7d10f340ab930cffa0bc4a70ffefd85..f8915832e310b7185ce897d8612104bcffe64807 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 472c52925f19b5b6cca7f1cf284088e22e7ced9d..0f47749b0b30a32f3661f1388da97bab7eba3db6 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index c4b7675b669286a3f1c15a7cb066b0acd4fc6776..6a1b6ece1001fb2f24c90d2c16e507a85f803255 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index e8f088a13c5d9daff5947309e049df8560a796c4..209f201484b60c8a20d6af3f320b601de22ce531 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 6d3e8d47e0fb6a55066f9a13fd55745a5070dc6c..558a531370e552c7dbd16fadf728683d7dedaddf 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 6fe4b8927dd7fcc2c5b4d3cba44e6e4e0ad8fa39..438e02df346432131e32d2f71794c11df691b0ad 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index cc8598d9757a2fcf03cd8168918db4da8e1a558e..51416aa728f18305fba76bb370382fd58504cf63 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index af7285dafcdbc74d8e8e86b11f99294501dd2c0c..0d1cccedc0495facd9b0a32ee22e798b0d5074b2 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 158f423205265e8c8b26dcc5e3080a58c8534ca3..dc2ddae6ae49e61411ba26ad62523645ebeefc5f 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index abbd5a43b00c0f4c0bd38808ab14a58d384b3ddd..b4929969f480d7d0f33fb8c9477d6486810c0439 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 62db7676e698e7e709296a783324c042043cc2d1..9c16c278ae3a95bd7bd0729ee78faf5e6acb5e6a 100644 (file)
--- a/CFData.c
+++ b/CFData.c
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 2d7f1733b58b31a503e799d141f984c9c96d80a1..55a8961abb3314ae83e92accc804226501c5278e 100644 (file)
--- a/CFData.h
+++ b/CFData.h
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 252f4d4932f471c740ae02432e863062ee943578..438f2e4db0f633cd3a1b780d1d5b80378958499a 100644 (file)
--- a/CFDate.c
+++ b/CFDate.c
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index b2df7a91c0023875814b429e2eb20ea57d8e58b5..77a41f93d6eadd4dd231c7c3c3701b8d259fad03 100644 (file)
--- a/CFDate.h
+++ b/CFDate.h
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index ee6696b97c9f3087d4d3d5bc6198660c71d0c35b..53af35fb50f5d2ee294a37c8c37ae75c5faaa9b0 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index c592255135e57733ad1b610b0b3bae2b82ff31a8..cbc87df6292e811cce7a9682794d7190eef4d7ab 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index c12ff5057c8d5decd1a909218cd0376316b8c43a..fb47630c5bcdc653a882b629845a7358055b8226 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 778802f37063ee5ff8adbd33f2783d5cbef97d58..6c3bbabef7dad125943f4f3139891c7d0b9a5e60 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 3a19acbc2d28d277c552cfde6bcca8c34d13b35c..ca1e9088a74f4f0103114b525a28b5cf6ba9cc04 100644 (file)
--- a/CFError.c
+++ b/CFError.c
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 629e11398c2c53be290b8fbd74c740b23d08eb74..47cef6a28c62e6ffc3f274279eb67aae0132e5d3 100644 (file)
--- a/CFError.h
+++ b/CFError.h
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 5114d36762bd41f91ebf86e3cb33f2fafe99c581..f3e7ae04de67ce24c0f1f15553b00a3719d58d57 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 85993d74434fb0bbc9ca721f341435c2d258a681..f16d0a55e3a7c51b98bbf014aeabbc7642022d5d 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index bb192473ea3e7f877c6016313ca240d4f1980f69..da916188f38c48f10903338bc0ba08c0bf19cff1 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index b2c72325ef443f5c06b12e36a574b30031f6ef9f..47fe65fd64d3193f55bee43596ce94b48117baa4 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index d85772e33f45430c68d92b03b18583cb3ad2c9f1..aa1228af3d76118c89caa441207a587a4ff5f4d3 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
@@ -345,8 +345,8 @@ const CFStringRef S = (CFStringRef) & __ ## S ## __;
 #define PE_CONST_STRING_DECL(S, V)                     \
 static struct CF_CONST_STRING __ ## S ## __ = {{(uintptr_t)&__CFConstantStringClassReference, {0xc8, 0x07, 0x00, 0x00}}, (uint8_t *)(V), sizeof(V) - 1}; \
 __private_extern__ const CFStringRef S = (CFStringRef) & __ ## S ## __;
 #define PE_CONST_STRING_DECL(S, V)                     \
 static struct CF_CONST_STRING __ ## S ## __ = {{(uintptr_t)&__CFConstantStringClassReference, {0xc8, 0x07, 0x00, 0x00}}, (uint8_t *)(V), sizeof(V) - 1}; \
 __private_extern__ const CFStringRef S = (CFStringRef) & __ ## S ## __;
-#endif
 #endif // __BIG_ENDIAN__
 #endif // __BIG_ENDIAN__
+#endif // __CONSTANT_CFSTRINGS__
 
 
 /* Buffer size for file pathname */
 
 
 /* Buffer size for file pathname */
index ba125fabc07985ed739c15f39e86aa51d2d8fdaf..fbec52e3016262a2df7937817227d2c74e139d07 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 28b7dd5a39df7aade6ec73c5248f540c4b848c19..03b7918ab3330aa4128da03ad60589925f497cb3 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index b8bad79cf12d8a269ec441afb62733b4e4dc9088..f014d3285099ddca9f14d6c0b3f9b0b1d00035fd 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 509d93b41509efd38ca6fcbfa9aa87a4d873e7b9..68d58bae9135bf1fe64c25edcfc61c53f4868210 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 0873fd6d165c3b8039da1482990ce1bd7538f70a..5e5ec12e0591b22917ca1623284915af07b213bb 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 18cae3cf59475d8b680d315f3c113e34dbf8c70d..12ff4b857d0bbbad1e075881d7406eecc99ab9e5 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 454780503ace35862c7672e0606b9ae2c6016667..abdf281b7ae43aa66e545a0c7f41daf69ea28cda 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index b3e034c75e4362510aaf800968ab3bf80f50be14..35c9bc44de8fc871f1b21a23e64d47deded6fd1f 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index b8a92a92fad47a3c99297ef4bac88543f903cc23..569b6a0ed23bb03f1397d553fd3da2569fe1c99d 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 5a6bb4a8148b6602bbdf8e436084becd67f60f71..5bf900ca10332fcd87483639677b737305ce7664 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 245192e5792f8c2d6347f3fbc9356f719177022c..d4b3bfa3aed123c6e7c666650830e266b84adfe0 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 5173bb2aef8534c211a466109a7fbd8833711479..070e83a6588d418b60106a53339400e6ecdb5174 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 83ec597e8cf98f19f43cbe6bfca403d566375806..617a6add0bf1d1baa4a637f1a812c09a01ce5002 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 3fde5a8f1692467a34f8373bffc18434f4a6040c..970354becb5bb5069796b07412e6a1e821e6174e 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index a840ae4a7ee76f0de9c7e1b6ea20616798507fd3..e6d0219b29990a740bfd9a2f4a6f6fe57fcd2c61 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index b235a9fe0f0bf9c25df1098527495d5b4ed3fae5..25b22b9def695aa6e4485703f6fee9baf8d72c1e 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 8b48badcfed2a8eb328939227c2d0fc479c057f4..a12881d06c62f1097405336a186732691a35cfa6 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index c044be314fb8a3a75d32eeafed052db6ff04f49d..9d4813d6e3da20fd81eebb13431af8c58dfb3ac4 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index a31c9dd250ae0d701888c07955bd7ec255ae4416..e826b16f53c81f7cdcdc86379e62c58819d89a9e 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 70eee0b37944e88fd6dd7a883f87bdf0d9f310fe..c0232d5ace15bd986b58475f0c74410015639ba9 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index e606087b36ada391a59226b2993a191c58521602..36aa70f21bf3af2d88db08496cbd3b004756c350 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 7ec2dc858d33e171c671126fbb9e0b563c45cc66..8923155a26c6752851144c259e109708c418c4b0 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 50cc9cad01d715b29e46e058cf086a740adcd3c1..d24a6bea64f7679367d10e3258d9da6b146e5fea 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index f9d56654e4a670e79d21f670e71fc9402429907b..ed005b59f88a315b208b29d27d3be75445f25e96 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 3a4a5bb4799b6b052149d024892e14e01c39c544..43c04d422e4d41c56f7b884d149f098e4394fd00 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 0d34c2d881dceda2f510c6d3e5c2c7989f8edf39..1a160dca19968f42b275f241bacf0ba56f92c708 100644 (file)
--- a/CFPriv.h
+++ b/CFPriv.h
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 9650ed0bfef7ec69991eb94428515118794aa56b..adb164fcaf80964dc9697b67e35f9930588e4e22 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 8052fa958c35055a4fd8ef701d3ceb41273a1e9d..219dc7aacdfaff48bd87be2f0afd730e541513ce 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index d58bc34c4f3fcd563337f403d13bf7acdf444f8c..d38b717f016513e9b1dc8ae8f26a6d4101e503c1 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 14088b86b41e1192a6989ffe6bc8217965cf8aae..cc9f9236e837e033c4c3a482cd965a66250bbbe5 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index b596782c299b2afc01ec440c7117140346881437..1c5c2aa57a4c6ec026b552391257d82d9a42099b 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index e634efce27f21b27d0f29168120ac8b0fab0ee74..66c830697721f799731f82d8f365c1b77a4de53d 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
diff --git a/CFSet.c b/CFSet.c
index 4881a64423047dcb2b6471a4a4f9588fd9dadd40..f23f4f9ac5f560d74a2bbc1277dceaab6ea03ab9 100644 (file)
--- a/CFSet.c
+++ b/CFSet.c
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
diff --git a/CFSet.h b/CFSet.h
index 4833765279deb7e3cc8f865fd3e77a06c5e07a15..a638d7e121dc3b7bb3277caf5670c8133048e8e6 100644 (file)
--- a/CFSet.h
+++ b/CFSet.h
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 357d2e3031e54c63e2e316d85715691ad90c5c3d..bf049f7868a64047517457ca49ba99ace731eaf9 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 94656cd9ae5ad4fd5f401b8c12ab5f13a3eb80e1..3653bf55f2db03b86444e73aca110eda238f1222 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index d8a14b546ee56914f51c530fab854d56072011a4..88326a4feda7542677c5d79f49e5aa7f8aef85ac 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index b8e9bf21a0c076fa86ba6dda696429edbd203f4d..f4c5b5a15fb0c8ccb4ab75635d0ad259ea59f158 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 8500024fdfc9631613b846dc0654c8d7b28d1ac2..37073c2c2c87cb87d6b7d878d42caca17ee2f909 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index c81ac964658c2dd4f8ef0018b19b89d8e96ecba4..86db40f61a1f95e6f384bdf8659800f5dc575a92 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index d28ae16ca65cfe4408ff1eb19274f98b5ee9a2bd..0a2ba5e49df4468f8e16a32303fd490191056dac 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
@@ -33,6 +33,9 @@
 #include "CFInternal.h"
 #include <stdio.h>
 
 #include "CFInternal.h"
 #include <stdio.h>
 
+struct CFStreamAux {
+       CFSpinLock_t streamLock;
+};
 
 enum {
        MIN_STATUS_CODE_BIT     = 0,
 
 enum {
        MIN_STATUS_CODE_BIT     = 0,
@@ -73,6 +76,77 @@ __private_extern__ CFStreamStatus _CFStreamGetStatus(struct _CFStream *stream);
 static Boolean _CFStreamRemoveRunLoopAndModeFromArray(CFMutableArrayRef runLoopsAndModes, CFRunLoopRef rl, CFStringRef mode);
 static void _wakeUpRunLoop(struct _CFStream *stream);
 
 static Boolean _CFStreamRemoveRunLoopAndModeFromArray(CFMutableArrayRef runLoopsAndModes, CFRunLoopRef rl, CFStringRef mode);
 static void _wakeUpRunLoop(struct _CFStream *stream);
 
+CF_INLINE void* _CFStreamCreateReserved(CFAllocatorRef alloc) {
+       struct CFStreamAux* aux = (struct CFStreamAux*) CFAllocatorAllocate(alloc, sizeof(struct CFStreamAux), 0);
+       if (aux) {
+               aux->streamLock = CFSpinLockInit;
+       }
+       return aux;
+}
+
+CF_INLINE void _CFStreamDestroyReserved(CFAllocatorRef alloc, void* aux) {
+       CFAllocatorDeallocate(alloc, aux);
+}
+
+CF_INLINE struct CFStreamAux* _CFStreamGetAuxRecord(struct _CFStream* stream) {
+       return (struct CFStreamAux*) stream->_reserved1;
+}
+
+CF_INLINE void _CFStreamLock(struct _CFStream* stream) {
+       __CFSpinLock(&_CFStreamGetAuxRecord(stream)->streamLock);
+}
+
+CF_INLINE void _CFStreamUnlock(struct _CFStream* stream) {
+       __CFSpinUnlock(&_CFStreamGetAuxRecord(stream)->streamLock);
+}
+
+CF_INLINE CFRunLoopSourceRef _CFStreamCopySource(struct _CFStream* stream) {
+       CFRunLoopSourceRef source = NULL;
+       
+       if (stream) {
+               _CFStreamLock(stream);
+               
+               if (stream->client)
+                       source = stream->client->rlSource;
+
+               if (source)
+                       CFRetain(source);
+               
+               _CFStreamUnlock(stream);
+       }
+       
+       return source;
+}
+
+CF_INLINE void _CFStreamSetSource(struct _CFStream* stream, CFRunLoopSourceRef source, Boolean invalidateOldSource) {
+       CFRunLoopSourceRef oldSource = NULL;
+       
+       if (stream) {
+               _CFStreamLock(stream);
+               if (stream->client) {
+                       oldSource = stream->client->rlSource;
+                       if (oldSource != NULL)
+                               CFRetain(oldSource);
+                       
+                       stream->client->rlSource = source;
+                       if (source != NULL)
+                               CFRetain(source);
+               }
+               _CFStreamUnlock(stream);
+       }
+       
+       if (oldSource) {
+               // Lose our extra retain
+               CFRelease(oldSource);
+               
+               if (invalidateOldSource)
+                       CFRunLoopSourceInvalidate(oldSource);
+               
+               // And lose the one that held it in our stream as well
+               CFRelease(oldSource);
+       }
+}
+
 CF_INLINE const struct _CFStreamCallBacks *_CFStreamGetCallBackPtr(struct _CFStream *stream) {
     return stream->callBacks;
 }
 CF_INLINE const struct _CFStreamCallBacks *_CFStreamGetCallBackPtr(struct _CFStream *stream) {
     return stream->callBacks;
 }
@@ -87,11 +161,16 @@ CF_INLINE void _CFStreamSetStatusCode(struct _CFStream *stream, CFStreamStatus n
 }
 
 CF_INLINE void _CFStreamScheduleEvent(struct _CFStream *stream, CFStreamEventType event) {
 }
 
 CF_INLINE void _CFStreamScheduleEvent(struct _CFStream *stream, CFStreamEventType event) {
-    if (stream->client && (stream->client->when & event) && stream->client->rlSource) {
-        stream->client->whatToSignal |= event;
-        CFRunLoopSourceSignal(stream->client->rlSource);
-        _wakeUpRunLoop(stream);
-    }
+    if (stream->client && (stream->client->when & event)) {
+               CFRunLoopSourceRef source = _CFStreamCopySource(stream);
+        if (source) {
+            stream->client->whatToSignal |= event;
+
+                       CFRunLoopSourceSignal(source);
+                       CFRelease(source);
+               _wakeUpRunLoop(stream);
+           }
+       }
 }
 
 CF_INLINE void _CFStreamSetStreamError(struct _CFStream *stream, CFStreamError *err) {
 }
 
 CF_INLINE void _CFStreamSetStreamError(struct _CFStream *stream, CFStreamError *err) {
@@ -124,60 +203,67 @@ static CFStringRef __CFStreamCopyDescription(CFTypeRef cf) {
     return desc;
 }
 
     return desc;
 }
 
-__private_extern__ void _CFStreamClose(struct _CFStream *stream) {
-    CFStreamStatus status = _CFStreamGetStatus(stream);
-    const struct _CFStreamCallBacks *cb = _CFStreamGetCallBackPtr(stream);
-    if (status == kCFStreamStatusNotOpen || status == kCFStreamStatusClosed || (status == kCFStreamStatusError && __CFBitIsSet(stream->flags, HAVE_CLOSED))) {
-        // Stream is not open from the client's perspective; do not callout and do not update our status to "closed"
-        return;
-    }
-    __CFBitSet(stream->flags, HAVE_CLOSED);
-    __CFBitSet(stream->flags, CALLING_CLIENT);
-    if (cb->close) {
-        cb->close(stream, _CFStreamGetInfoPointer(stream));
-    }
-    if (stream->client && stream->client->rlSource) {
-        
+static void _CFStreamDetachSource(struct _CFStream* stream) {
+       if (stream && stream->client && stream->client->rlSource) {
         if (!__CFBitIsSet(stream->flags, SHARED_SOURCE)) {
         if (!__CFBitIsSet(stream->flags, SHARED_SOURCE)) {
-            CFRunLoopSourceInvalidate(stream->client->rlSource);
-            CFRelease(stream->client->rlSource);
-            stream->client->rlSource = NULL;
+                       _CFStreamSetSource(stream, NULL, TRUE);
         }
         else {
             
             CFArrayRef runLoopAndSourceKey;
             CFMutableArrayRef list;
         }
         else {
             
             CFArrayRef runLoopAndSourceKey;
             CFMutableArrayRef list;
-            CFIndex c, i;
+                       CFIndex count;
+                       CFIndex i;
             
             __CFSpinLock(&sSourceLock);
             
             runLoopAndSourceKey = (CFArrayRef)CFDictionaryGetValue(sSharedSources, stream);
             list = (CFMutableArrayRef)CFDictionaryGetValue(sSharedSources, runLoopAndSourceKey);
             
             
             __CFSpinLock(&sSourceLock);
             
             runLoopAndSourceKey = (CFArrayRef)CFDictionaryGetValue(sSharedSources, stream);
             list = (CFMutableArrayRef)CFDictionaryGetValue(sSharedSources, runLoopAndSourceKey);
             
-            c = CFArrayGetCount(list);
-            i = CFArrayGetFirstIndexOfValue(list, CFRangeMake(0, c), stream);
+                       count = CFArrayGetCount(list);
+                       i = CFArrayGetFirstIndexOfValue(list, CFRangeMake(0, count), stream);
             if (i != kCFNotFound) {
                 CFArrayRemoveValueAtIndex(list, i);
             if (i != kCFNotFound) {
                 CFArrayRemoveValueAtIndex(list, i);
-                c--;
+                               count--;
             }
             
             CFAssert(CFArrayGetFirstIndexOfValue(list, CFRangeMake(0, CFArrayGetCount(list)), stream) == kCFNotFound, __kCFLogAssertion, "CFStreamClose: stream found twice in its shared source's list");
 
             }
             
             CFAssert(CFArrayGetFirstIndexOfValue(list, CFRangeMake(0, CFArrayGetCount(list)), stream) == kCFNotFound, __kCFLogAssertion, "CFStreamClose: stream found twice in its shared source's list");
 
-            if (!c) {
-                CFRunLoopRemoveSource((CFRunLoopRef)CFArrayGetValueAtIndex(runLoopAndSourceKey, 0), stream->client->rlSource, (CFStringRef)CFArrayGetValueAtIndex(runLoopAndSourceKey, 1));
-                CFRunLoopSourceInvalidate(stream->client->rlSource);
+                       if (count == 0) {
+                               CFRunLoopSourceRef source = _CFStreamCopySource(stream);
+                               if (source) {
+                                       CFRunLoopRemoveSource((CFRunLoopRef)CFArrayGetValueAtIndex(runLoopAndSourceKey, 0), source, (CFStringRef)CFArrayGetValueAtIndex(runLoopAndSourceKey, 1));
+                                       CFRelease(source);
+                               }
                 CFDictionaryRemoveValue(sSharedSources, runLoopAndSourceKey);
             }
             
             CFDictionaryRemoveValue(sSharedSources, stream);
             
                 CFDictionaryRemoveValue(sSharedSources, runLoopAndSourceKey);
             }
             
             CFDictionaryRemoveValue(sSharedSources, stream);
             
-            CFRelease(stream->client->rlSource);
-            stream->client->rlSource = NULL;
+                       _CFStreamSetSource(stream, NULL, count == 0);
+                       
             __CFBitClear(stream->flags, SHARED_SOURCE);
 
             __CFSpinUnlock(&sSourceLock);
         }
     }
             __CFBitClear(stream->flags, SHARED_SOURCE);
 
             __CFSpinUnlock(&sSourceLock);
         }
     }
+}
+
+__private_extern__ void _CFStreamClose(struct _CFStream *stream) {
+    CFStreamStatus status = _CFStreamGetStatus(stream);
+    const struct _CFStreamCallBacks *cb = _CFStreamGetCallBackPtr(stream);
+    if (status == kCFStreamStatusNotOpen || status == kCFStreamStatusClosed || (status == kCFStreamStatusError && __CFBitIsSet(stream->flags, HAVE_CLOSED))) {
+        // Stream is not open from the client's perspective; do not callout and do not update our status to "closed"
+        return;
+    }
+    __CFBitSet(stream->flags, HAVE_CLOSED);
+    __CFBitSet(stream->flags, CALLING_CLIENT);
+    if (cb->close) {
+        cb->close(stream, _CFStreamGetInfoPointer(stream));
+    }
+    if (stream->client) {
+        _CFStreamDetachSource(stream);
+    }
     _CFStreamSetStatusCode(stream, kCFStreamStatusClosed);
     __CFBitClear(stream->flags, CALLING_CLIENT);
 }
     _CFStreamSetStatusCode(stream, kCFStreamStatusClosed);
     __CFBitClear(stream->flags, CALLING_CLIENT);
 }
@@ -199,45 +285,7 @@ static void __CFStreamDeallocate(CFTypeRef cf) {
         if (cbContext->info && cbContext->release) {
             cbContext->release(cbContext->info);
         }
         if (cbContext->info && cbContext->release) {
             cbContext->release(cbContext->info);
         }
-        if (stream->client->rlSource) {
-            if (!__CFBitIsSet(stream->flags, SHARED_SOURCE)) {
-                CFRunLoopSourceInvalidate(stream->client->rlSource);
-                CFRelease(stream->client->rlSource);
-                stream->client->rlSource = NULL;
-            }
-            else {
-                
-                CFArrayRef runLoopAndSourceKey;
-                CFMutableArrayRef list;
-                CFIndex c, i;
-
-                __CFSpinLock(&sSourceLock);
-                
-                runLoopAndSourceKey = (CFArrayRef)CFDictionaryGetValue(sSharedSources, stream);
-                list = (CFMutableArrayRef)CFDictionaryGetValue(sSharedSources, runLoopAndSourceKey);
-                
-                c = CFArrayGetCount(list);
-                i = CFArrayGetFirstIndexOfValue(list, CFRangeMake(0, c), stream);
-                if (i != kCFNotFound) {
-                    CFArrayRemoveValueAtIndex(list, i);
-                    c--;
-                }
-                
-                if (!c) {
-                    CFRunLoopRemoveSource((CFRunLoopRef)CFArrayGetValueAtIndex(runLoopAndSourceKey, 0), stream->client->rlSource, (CFStringRef)CFArrayGetValueAtIndex(runLoopAndSourceKey, 1));
-                    CFRunLoopSourceInvalidate(stream->client->rlSource);
-                    CFDictionaryRemoveValue(sSharedSources, runLoopAndSourceKey);
-                }
-                
-                CFDictionaryRemoveValue(sSharedSources, stream);
-                
-                CFRelease(stream->client->rlSource);
-                stream->client->rlSource = NULL;
-                __CFBitClear(stream->flags, SHARED_SOURCE);
-
-                __CFSpinUnlock(&sSourceLock);
-            }
-        }
+        _CFStreamDetachSource(stream);
         if (stream->client->runLoopsAndModes) {
             CFRelease(stream->client->runLoopsAndModes);
         }
         if (stream->client->runLoopsAndModes) {
             CFRelease(stream->client->runLoopsAndModes);
         }
@@ -262,6 +310,8 @@ static void __CFStreamDeallocate(CFTypeRef cf) {
     if (!__CFBitIsSet(stream->flags, CONSTANT_CALLBACKS)) {
         CFAllocatorDeallocate(alloc, (void *)stream->callBacks);
     }
     if (!__CFBitIsSet(stream->flags, CONSTANT_CALLBACKS)) {
         CFAllocatorDeallocate(alloc, (void *)stream->callBacks);
     }
+       if (stream->_reserved1)
+               _CFStreamDestroyReserved(alloc, stream->_reserved1);
 }
 
 static const CFRuntimeClass __CFReadStreamClass = {
 }
 
 static const CFRuntimeClass __CFReadStreamClass = {
@@ -318,6 +368,8 @@ static struct _CFStream *_CFStreamCreate(CFAllocatorRef allocator, Boolean isRea
         newStream->client = NULL;
         newStream->info = NULL;
         newStream->callBacks = NULL;
         newStream->client = NULL;
         newStream->info = NULL;
         newStream->callBacks = NULL;
+               
+               newStream->_reserved1 = _CFStreamCreateReserved(allocator);
     }
     return newStream;
 }
     }
     return newStream;
 }
@@ -524,6 +576,8 @@ static void _signalEventSync(struct _CFStream* stream, CFOptionFlags whatToSigna
            
            /* What happens if the callback sets the client to NULL?  We're in a loop here... Hmm. */
            /* After writing that comment, I see: <rdar://problem/6793636> CFReadStreamSetClient(..., NULL) unsafely releases info pointer immediately */
            
            /* What happens if the callback sets the client to NULL?  We're in a loop here... Hmm. */
            /* After writing that comment, I see: <rdar://problem/6793636> CFReadStreamSetClient(..., NULL) unsafely releases info pointer immediately */
+        /* Of note, when the stream callbacks are set to to NULL, we're re-initalized so as not to receive more events, so we 
+         * should break pout of this loop */
        }
     }
 
        }
     }
 
@@ -590,8 +644,12 @@ static void _cfstream_shared_signalEventSync(void* info)
        for (; i < c;  i++) {
            struct _CFStream* s = (struct _CFStream*)CFArrayGetValueAtIndex(list, i);
            if (s->client->whatToSignal) {
        for (; i < c;  i++) {
            struct _CFStream* s = (struct _CFStream*)CFArrayGetValueAtIndex(list, i);
            if (s->client->whatToSignal) {
-               CFRunLoopSourceSignal(s->client->rlSource);
-               break;
+                       CFRunLoopSourceRef source = _CFStreamCopySource(s);
+                       if (source) {
+                               CFRunLoopSourceSignal(source);
+                               CFRelease(source);
+                       }
+            break;
            }
        }
        
            }
        }
        
@@ -684,31 +742,39 @@ __private_extern__ void _CFStreamSignalEvent(struct _CFStream *stream, CFStreamE
     }
 
     // Now signal any pertinent event 
     }
 
     // Now signal any pertinent event 
-    if (stream->client && stream->client->rlSource && (stream->client->when & event)) {
-    
-        Boolean signalNow = FALSE;
+    if (stream->client && (stream->client->when & event) != 0) {
+        CFRunLoopSourceRef source = _CFStreamCopySource(stream);
+        
+        if (source) {
+            Boolean signalNow = FALSE;
         
         
-        stream->client->whatToSignal |= event;
+            stream->client->whatToSignal |= event;
         
         
-        if (synchronousAllowed && !__CFBitIsSet(stream->flags, CALLING_CLIENT)) {
+            if (synchronousAllowed && !__CFBitIsSet(stream->flags, CALLING_CLIENT)) {
             
             
-            CFRunLoopRef rl = CFRunLoopGetCurrent();
-            CFStringRef mode = CFRunLoopCopyCurrentMode(rl);
+                CFRunLoopRef rl = CFRunLoopGetCurrent();
+                CFStringRef mode = CFRunLoopCopyCurrentMode(rl);
             
             
-            if (mode) {
-                if (CFRunLoopContainsSource(rl, stream->client->rlSource, mode))
-                    signalNow = TRUE;
-                CFRelease(mode);
+                if (mode) {
+                    if (CFRunLoopContainsSource(rl, source, mode))
+                        signalNow = TRUE;
+                }
+                if (mode) 
+                    CFRelease(mode);
             }
             }
-        }
 
 
-        if (signalNow) {
-            // Can call out safely right now
-            _cfstream_solo_signalEventSync(stream);
-        } else {
-            // Schedule for later delivery
-            CFRunLoopSourceSignal(stream->client->rlSource);
-            _wakeUpRunLoop(stream);
+            if (signalNow) {
+                // Can call out safely right now
+                _cfstream_solo_signalEventSync(stream);
+            } else {
+                // Schedule for later delivery
+                if (source) {
+                    CFRunLoopSourceSignal(source);
+                }
+                _wakeUpRunLoop(stream);
+            }
+               
+                       CFRelease(source);
         }
     }
 }
         }
     }
 }
@@ -1132,6 +1198,7 @@ static void _initializeClient(struct _CFStream *stream) {
 __private_extern__ Boolean _CFStreamSetClient(struct _CFStream *stream, CFOptionFlags streamEvents, void (*clientCB)(struct _CFStream *, CFStreamEventType, void *), CFStreamClientContext *clientCallBackContext) {
 
     Boolean removingClient = (streamEvents == kCFStreamEventNone || clientCB == NULL || clientCallBackContext == NULL);
 __private_extern__ Boolean _CFStreamSetClient(struct _CFStream *stream, CFOptionFlags streamEvents, void (*clientCB)(struct _CFStream *, CFStreamEventType, void *), CFStreamClientContext *clientCallBackContext) {
 
     Boolean removingClient = (streamEvents == kCFStreamEventNone || clientCB == NULL || clientCallBackContext == NULL);
+
     if (removingClient) {
         clientCB = NULL;
         streamEvents = kCFStreamEventNone;
     if (removingClient) {
         clientCB = NULL;
         streamEvents = kCFStreamEventNone;
@@ -1203,12 +1270,12 @@ CF_EXPORT void *_CFWriteStreamGetClient(CFWriteStreamRef writeStream) {
 __private_extern__ void _CFStreamScheduleWithRunLoop(struct _CFStream *stream, CFRunLoopRef runLoop, CFStringRef runLoopMode) {
     const struct _CFStreamCallBacks *cb = _CFStreamGetCallBackPtr(stream);
     
 __private_extern__ void _CFStreamScheduleWithRunLoop(struct _CFStream *stream, CFRunLoopRef runLoop, CFStringRef runLoopMode) {
     const struct _CFStreamCallBacks *cb = _CFStreamGetCallBackPtr(stream);
     
-    if (!stream->client) {
+    if (! stream->client) {
         _initializeClient(stream);
         if (!stream->client) return; // we don't support asynch.
     }
     
         _initializeClient(stream);
         if (!stream->client) return; // we don't support asynch.
     }
     
-    if (!stream->client->rlSource) {
+    if (! stream->client->rlSource) {
        /* No source, so we join the shared source group */
         CFTypeRef a[] = { runLoop, runLoopMode };
         
        /* No source, so we join the shared source group */
         CFTypeRef a[] = { runLoop, runLoopMode };
         
@@ -1221,7 +1288,12 @@ __private_extern__ void _CFStreamScheduleWithRunLoop(struct _CFStream *stream, C
         
         CFMutableArrayRef listOfStreamsSharingASource = (CFMutableArrayRef)CFDictionaryGetValue(sSharedSources, runLoopAndSourceKey);
         if (listOfStreamsSharingASource) {
         
         CFMutableArrayRef listOfStreamsSharingASource = (CFMutableArrayRef)CFDictionaryGetValue(sSharedSources, runLoopAndSourceKey);
         if (listOfStreamsSharingASource) {
-            stream->client->rlSource = (CFRunLoopSourceRef)CFRetain(((struct _CFStream*)CFArrayGetValueAtIndex(listOfStreamsSharingASource, 0))->client->rlSource);
+                       struct _CFStream* aStream = (struct _CFStream*) CFArrayGetValueAtIndex(listOfStreamsSharingASource, 0);
+                       CFRunLoopSourceRef source = _CFStreamCopySource(aStream);
+                       if (source) {
+                               _CFStreamSetSource(stream, source, FALSE);
+                               CFRelease(source);
+                       }
             CFRetain(listOfStreamsSharingASource);
         }
         else {
             CFRetain(listOfStreamsSharingASource);
         }
         else {
@@ -1229,10 +1301,10 @@ __private_extern__ void _CFStreamScheduleWithRunLoop(struct _CFStream *stream, C
                 0,
                 NULL,
                 CFRetain,
                 0,
                 NULL,
                 CFRetain,
-               CFRelease,
+                CFRelease,
                 (CFStringRef(*)(const void *))CFCopyDescription,
                 (CFStringRef(*)(const void *))CFCopyDescription,
-               NULL,
-               NULL,
+                NULL,
+                NULL,
                 NULL,
                 NULL,
                 (void(*)(void *))_cfstream_shared_signalEventSync
                 NULL,
                 NULL,
                 (void(*)(void *))_cfstream_shared_signalEventSync
@@ -1243,9 +1315,10 @@ __private_extern__ void _CFStreamScheduleWithRunLoop(struct _CFStream *stream, C
 
             ctxt.info = listOfStreamsSharingASource;
             
 
             ctxt.info = listOfStreamsSharingASource;
             
-            stream->client->rlSource = CFRunLoopSourceCreate(kCFAllocatorSystemDefault, 0, &ctxt);
-            
-            CFRunLoopAddSource(runLoop, stream->client->rlSource, runLoopMode);
+                       CFRunLoopSourceRef source = CFRunLoopSourceCreate(kCFAllocatorSystemDefault, 0, &ctxt);
+                       _CFStreamSetSource(stream, source, FALSE);
+            CFRunLoopAddSource(runLoop, source, runLoopMode);
+                       CFRelease(source);
         }
         
         CFArrayAppendValue(listOfStreamsSharingASource, stream);
         }
         
         CFArrayAppendValue(listOfStreamsSharingASource, stream);
@@ -1263,7 +1336,7 @@ __private_extern__ void _CFStreamScheduleWithRunLoop(struct _CFStream *stream, C
        
         CFArrayRef runLoopAndSourceKey;
         CFMutableArrayRef listOfStreamsSharingASource;
        
         CFArrayRef runLoopAndSourceKey;
         CFMutableArrayRef listOfStreamsSharingASource;
-        CFIndex c, i;
+        CFIndex count, i;
         
         CFAllocatorRef alloc = CFGetAllocator(stream);
         CFRunLoopSourceContext ctxt = {
         
         CFAllocatorRef alloc = CFGetAllocator(stream);
         CFRunLoopSourceContext ctxt = {
@@ -1272,8 +1345,8 @@ __private_extern__ void _CFStreamScheduleWithRunLoop(struct _CFStream *stream, C
             NULL,                                                                                                              // Do not use CFRetain/CFRelease callbacks here; that will cause a retain loop 
             NULL,                                                                                                              // Do not use CFRetain/CFRelease callbacks here; that will cause a retain loop
             (CFStringRef(*)(const void *))CFCopyDescription,
             NULL,                                                                                                              // Do not use CFRetain/CFRelease callbacks here; that will cause a retain loop 
             NULL,                                                                                                              // Do not use CFRetain/CFRelease callbacks here; that will cause a retain loop
             (CFStringRef(*)(const void *))CFCopyDescription,
-           NULL,
-           NULL,
+            NULL,
+            NULL,
             NULL,
             NULL,
             (void(*)(void *))_cfstream_solo_signalEventSync
             NULL,
             NULL,
             (void(*)(void *))_cfstream_solo_signalEventSync
@@ -1284,36 +1357,45 @@ __private_extern__ void _CFStreamScheduleWithRunLoop(struct _CFStream *stream, C
         runLoopAndSourceKey = (CFArrayRef)CFRetain((CFTypeRef)CFDictionaryGetValue(sSharedSources, stream));
         listOfStreamsSharingASource = (CFMutableArrayRef)CFDictionaryGetValue(sSharedSources, runLoopAndSourceKey);
         
         runLoopAndSourceKey = (CFArrayRef)CFRetain((CFTypeRef)CFDictionaryGetValue(sSharedSources, stream));
         listOfStreamsSharingASource = (CFMutableArrayRef)CFDictionaryGetValue(sSharedSources, runLoopAndSourceKey);
         
-        c = CFArrayGetCount(listOfStreamsSharingASource);
-        i = CFArrayGetFirstIndexOfValue(listOfStreamsSharingASource, CFRangeMake(0, c), stream);
+        count = CFArrayGetCount(listOfStreamsSharingASource);
+        i = CFArrayGetFirstIndexOfValue(listOfStreamsSharingASource, CFRangeMake(0, count), stream);
         if (i != kCFNotFound) {
             CFArrayRemoveValueAtIndex(listOfStreamsSharingASource, i);
         if (i != kCFNotFound) {
             CFArrayRemoveValueAtIndex(listOfStreamsSharingASource, i);
-            c--;
+            count--;
         }
         
         }
         
-        if (!c) {
-            CFRunLoopRemoveSource((CFRunLoopRef)CFArrayGetValueAtIndex(runLoopAndSourceKey, 0), stream->client->rlSource, (CFStringRef)CFArrayGetValueAtIndex(runLoopAndSourceKey, 1));
-            CFRunLoopSourceInvalidate(stream->client->rlSource);
+        if (count == 0) {
+                       CFRunLoopSourceRef source = _CFStreamCopySource(stream);
+                       if (source) {
+                               CFRunLoopRemoveSource((CFRunLoopRef)CFArrayGetValueAtIndex(runLoopAndSourceKey, 0), source, (CFStringRef)CFArrayGetValueAtIndex(runLoopAndSourceKey, 1));
+                               CFRelease(source);
+                       }
             CFDictionaryRemoveValue(sSharedSources, runLoopAndSourceKey);
         }
         
         CFDictionaryRemoveValue(sSharedSources, stream);
         
             CFDictionaryRemoveValue(sSharedSources, runLoopAndSourceKey);
         }
         
         CFDictionaryRemoveValue(sSharedSources, stream);
         
-        CFRelease(stream->client->rlSource);
+               _CFStreamSetSource(stream, NULL, count == 0);
+               
         __CFBitClear(stream->flags, SHARED_SOURCE);
 
         __CFSpinUnlock(&sSourceLock);
         
         __CFBitClear(stream->flags, SHARED_SOURCE);
 
         __CFSpinUnlock(&sSourceLock);
         
-        stream->client->rlSource = CFRunLoopSourceCreate(alloc, 0, &ctxt);
-        
-        CFRunLoopAddSource((CFRunLoopRef)CFArrayGetValueAtIndex(runLoopAndSourceKey, 0), stream->client->rlSource, (CFStringRef)CFArrayGetValueAtIndex(runLoopAndSourceKey, 1));
-        
+               CFRunLoopSourceRef source = CFRunLoopSourceCreate(alloc, 0, &ctxt);
+               _CFStreamSetSource(stream, source, FALSE);
+        CFRunLoopAddSource((CFRunLoopRef)CFArrayGetValueAtIndex(runLoopAndSourceKey, 0), source, (CFStringRef)CFArrayGetValueAtIndex(runLoopAndSourceKey, 1));
         CFRelease(runLoopAndSourceKey);
         
         CFRelease(runLoopAndSourceKey);
         
-        CFRunLoopAddSource(runLoop, stream->client->rlSource, runLoopMode);
+        CFRunLoopAddSource(runLoop, source, runLoopMode);
+               
+               CFRelease(source);
     } else {
        /* We're not sharing, so just add the source to the rl & mode */
     } else {
        /* We're not sharing, so just add the source to the rl & mode */
-        CFRunLoopAddSource(runLoop, stream->client->rlSource, runLoopMode);
+               CFRunLoopSourceRef source = _CFStreamCopySource(stream);
+               if (source) {
+                       CFRunLoopAddSource(runLoop, source, runLoopMode);
+                       CFRelease(source);
+               }
     }
     
     if (!stream->client->runLoopsAndModes) {
     }
     
     if (!stream->client->runLoopsAndModes) {
@@ -1331,9 +1413,13 @@ __private_extern__ void _CFStreamScheduleWithRunLoop(struct _CFStream *stream, C
     /*
      * If we've got events pending, we need to wake up and signal
      */
     /*
      * If we've got events pending, we need to wake up and signal
      */
-    if (stream->client->whatToSignal != 0) {
-        CFRunLoopSourceSignal(stream->client->rlSource);
-        _wakeUpRunLoop(stream);
+    if (stream->client && stream->client->whatToSignal != 0) {
+               CFRunLoopSourceRef source = _CFStreamCopySource(stream);
+               if (source) {
+                       CFRunLoopSourceSignal(source);
+                       CFRelease(source);
+            _wakeUpRunLoop(stream);
+        }
     }
 }
 
     }
 }
 
@@ -1354,34 +1440,41 @@ __private_extern__ void _CFStreamUnscheduleFromRunLoop(struct _CFStream *stream,
     if (!stream->client->rlSource) return;
     
     if (!__CFBitIsSet(stream->flags, SHARED_SOURCE)) {
     if (!stream->client->rlSource) return;
     
     if (!__CFBitIsSet(stream->flags, SHARED_SOURCE)) {
-        CFRunLoopRemoveSource(runLoop, stream->client->rlSource, runLoopMode);
+               CFRunLoopSourceRef source = _CFStreamCopySource(stream);
+               if (source) {
+                       CFRunLoopRemoveSource(runLoop, source, runLoopMode);
+                       CFRelease(source);
+               }
     } else {
         CFArrayRef runLoopAndSourceKey;
         CFMutableArrayRef list;
     } else {
         CFArrayRef runLoopAndSourceKey;
         CFMutableArrayRef list;
-        CFIndex c, i;
+        CFIndex count, i;
 
         __CFSpinLock(&sSourceLock);
         
         runLoopAndSourceKey = (CFArrayRef)CFDictionaryGetValue(sSharedSources, stream);
         list = (CFMutableArrayRef)CFDictionaryGetValue(sSharedSources, runLoopAndSourceKey);
         
 
         __CFSpinLock(&sSourceLock);
         
         runLoopAndSourceKey = (CFArrayRef)CFDictionaryGetValue(sSharedSources, stream);
         list = (CFMutableArrayRef)CFDictionaryGetValue(sSharedSources, runLoopAndSourceKey);
         
-        c = CFArrayGetCount(list);
-        i = CFArrayGetFirstIndexOfValue(list, CFRangeMake(0, c), stream);
+        count = CFArrayGetCount(list);
+        i = CFArrayGetFirstIndexOfValue(list, CFRangeMake(0, count), stream);
         if (i != kCFNotFound) {
             CFArrayRemoveValueAtIndex(list, i);
         if (i != kCFNotFound) {
             CFArrayRemoveValueAtIndex(list, i);
-            c--;
+            count--;
         }
         
         }
         
-        if (!c) {
-            CFRunLoopRemoveSource(runLoop, stream->client->rlSource, runLoopMode);
-            CFRunLoopSourceInvalidate(stream->client->rlSource);
+        if (count == 0) {
+                       CFRunLoopSourceRef source = _CFStreamCopySource(stream);
+                       if (source) {
+                               CFRunLoopRemoveSource(runLoop, source, runLoopMode);
+                               CFRelease(source);
+                       }
             CFDictionaryRemoveValue(sSharedSources, runLoopAndSourceKey);
         }
         
         CFDictionaryRemoveValue(sSharedSources, stream);
         
             CFDictionaryRemoveValue(sSharedSources, runLoopAndSourceKey);
         }
         
         CFDictionaryRemoveValue(sSharedSources, stream);
         
-        CFRelease(stream->client->rlSource);
-        stream->client->rlSource = NULL;
+        _CFStreamSetSource(stream, NULL, count == 0);
+
         __CFBitClear(stream->flags, SHARED_SOURCE);
 
         __CFSpinUnlock(&sSourceLock);
         __CFBitClear(stream->flags, SHARED_SOURCE);
 
         __CFSpinUnlock(&sSourceLock);
index 885c9bb18c676b8a31f40f51ccada03edf8b7326..e22f496ed39d2263edab6c9496db3fe66fb18b32 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 0b00af23fa9462ceca0f6d810e2fc93820302582..bf12c928cf9ad3196594efcaa0199e2f6ba21300 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 01949e570923b59f3233bca4d9dce17bda731dce..e657b2656e050f37406748b204c981d114d0f984 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 37e29f159ebec1eb899140e0b646de1cc33ef885..b7827ca358ce35e035d1c30213eacc3fbddd184a 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 57e05632ed3d19187fe93a50d8239c7f83bc7ad1..69c9db7a658784a3c1b985bd441fe0dcc239c6d3 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index ba0364fdd4e6ddf518b90b6519d222aad0a78a9f..99333cbe46cd54079bdf3000887912cb7fabb03a 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 4a4928565124a08110f4b6c74cbc8fc1c270be3f..439b23ab0eb543c376ae3f71d307accbe5d2222a 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 1f2ef4e3f04ba3d60138999b410fbdf7b13ae18c..094ba57c273e5134b131052b6bcdd58e58755867 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 31d09efee759145cd50992709f10056e1874f5a4..d1372a06df5353c0bcfe270490fbf3da34fbbcbc 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 60111b3b7973bf34241157efd38c34f7d415a931..a4b649207f002131f477722aa9422af818c0c1fe 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 7f36feec00a1e96184bd6016160a7656bd2d7d9e..33fa73e48c97c1eebe8eaccf7295d77d2a6ef231 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index ce578ba2286df8b5b66699038ab2e8f06dec1b21..d3e8021993bec9d475e0c20bd37b2dee297801e8 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 195aa959402ee34d6ed66036ebf031af4a8e6256..e982afe4856109b0daa3e154e81865e322afd015 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 06155fb44e973eee5fc9b3feba60302a084fc5c4..e1e223e203ff9f59436f9f3638aebf3c908ab4ba 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 4f416030f8ee2c237b136bb49f036d4eba77dbbc..6807c114069239a4d50ebdffc47b46354771be4f 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index de2191c79430ed6e5742618acd8fd46c839d7061..4de445cde2e094920986e36cfbf79fcecbf2b3bc 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 4300f67eb725e0fac513b87333ddfd92483f4d09..3744aa31d3dbe7197caefa77bd25e07a60d75f0e 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 415f1bc195850ed1aaefe3bd50b08b0fd35fb85f..10cfdbdb8db1c5e360d2f8f700842bfcb5c4b849 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index fae899cbabaaf8b42aacd3b18e4d65b7df4521bb..d976564abf49d2e0927929e488da6ed6a7c25be6 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 8d34b51422abe79b6d3ea0d6b1143f2f3b0b1e04..824b1ea87a120318fceed7c07c911be4da21d309 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 2074ddb36bf272eb976ff502b96a27cc1e766d2a..ee37e295074734e90bc237000dbd403ccde72cf9 100644 (file)
--- a/CFTree.c
+++ b/CFTree.c
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index ad649ad55b100ce6ecfe81e78c3d38954480eeee..2b55e03335496904407ce094cbc442ddc0e2da16 100644 (file)
--- a/CFTree.h
+++ b/CFTree.h
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
diff --git a/CFURL.c b/CFURL.c
index 1a87757bf3c1e562fe60b4230d840670c13080ce..fb6ec7ca8d9dd4f751036b57c184b4c5990a0a1e 100644 (file)
--- a/CFURL.c
+++ b/CFURL.c
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
diff --git a/CFURL.h b/CFURL.h
index 80bbc27bb6be0333a1ae703799ec38796085600e..619504377900db76489188b65aea600615754039 100644 (file)
--- a/CFURL.h
+++ b/CFURL.h
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 16af3b4597b5726426ff7d10c171c839b0012b18..b79777e63250f99c5703b4b29eb3c0490fa93be2 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 96e23537b5c3257ec38d2e59c7cce23376feaa6b..14b7ef115e11ff9ec59afa11d030fb4997123452 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index be21b795dec7704b6362c111de572373c0883a17..937ff15fa200c16886ec34b9ecd0511e0f8e7ccb 100644 (file)
--- a/CFUUID.c
+++ b/CFUUID.c
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 823082a7bd03c6a7ab43d75d3790f3ee4bcad3ea..7b000e90bdc89c88ed920817c60dc8f7c9da0c03 100644 (file)
--- a/CFUUID.h
+++ b/CFUUID.h
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 31bb5fe018177458eae8ccacd80b97735406d78f..10a00bfbd1757cd96ea87d020a9a304d2d79ebc3 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index e3df9638f5ab743965bda9dfac784792fbd94e3e..ddb02305c4db09005db81a4d0944fbaedb4d6089 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 6563aef246b707daf8ce774248f5ef7fe585b21c..784d528e94db285b08e8b4316bbde6318c0d290c 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 3a293ca28e9bedeb6fb7ea48363d1d3fb775e0e1..adade11880ef0a5d38663b3513062e29458c0a64 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index a134877a869d40283b6a68718bae99f7273b2a97..f6d96907b5a500af47799e0930040150d27f17cb 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 4b18ef48dacac88c91acfa25910cd7f5de2b2305..da376770802324e5056f4df1cdd1f52304d7ee04 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index ef41758e94b2a95bf1e746e4503ff5fc10cfcedc..7e3877aeea40a554c0763e3b57ef5e8c804c1129 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index e9b6c317f66b0210e0b74dfb70c097ec089b6a0c..901373c6eeba6cdab470a1af5b4805b5724b95d1 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 82d9774dde23ed88f368db19a9b23fc69d8f6d41..bc2fd0fa0e85aa98aa9bd32ff33651d5ee95f902 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index c053613fb8929d22ce899144382773b81f5576f4..f999bca4c0ce2caa137136a80a1db274e5efc911 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index e4704486e188e899357d2c1044a53bb6d6bbe862..2ac36077994aa0e700aa487c03465e0b3818ea3d 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
@@ -25,5 +25,5 @@
     Copyright 2009, Apple Inc. All rights reserved.
     Responsibility: CFLite Team
 */
     Copyright 2009, Apple Inc. All rights reserved.
     Responsibility: CFLite Team
 */
-const unsigned char kCFCoreFoundationVersionString[] = "@(#)PROGRAM:CoreFoundation  PROJECT:CoreFoundation-550.13  SYSTEM:Darwin  DEVELOPER:unknown  BUILT:" __DATE__ " " __TIME__ "\n";
-double kCFCoreFoundationVersionNumber = (double)550.13;
+const unsigned char kCFCoreFoundationVersionString[] = "@(#)PROGRAM:CoreFoundation  PROJECT:CoreFoundation-550.19  SYSTEM:Darwin  DEVELOPER:unknown  BUILT:" __DATE__ " " __TIME__ "\n";
+double kCFCoreFoundationVersionNumber = (double)550.19;
index 5ce7e722074ef14263f5a2f8f8777691d02c44c1..ef7a0c3d2c279a7e558c9808d4f272c65187891a 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 187b76a52eeea3c879e10812f6ac6cf3f553e8c5..1e3d8fee9d058f3cae8c17071aef0b8d4c907521 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 9665929196a485e31ad530bb06d4d9d35868a0df..8c04fd7af21cfd604e569111ec5f56bf9978ba38 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 8ff2ad0d8d3e30b3a4ede35273bdfd309b691628..df3f3400a52048f2311854425ef58e0d2dfa19fe 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index f7b44b57803fd183edda4676919f1cdc7bba5448..4153ad41207a6c5dd70f5bc449643cedca79bb32 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 73d655e37d81ef239326301c131b6e51a9639e9a..1dc19d064603ba1e68dac6d856dd96674c3d6588 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index a3c1a01bcc203b1f66a039b126297a592b894aec..cca7871b3715b975cca7797903e491981940de7e 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index deb74fbb6123b3236700f020646a97e59e525c6c..819a2545fb793a4a490402f8d6699dadad33f2d1 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 0449f0fa4b1e960858177b39cbc8c32daaab5432..0ce50e1edb879c26e0e7c4f47e0af10b77def3ca 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 90180492671556e2a8005930bd1cffd934c9cedd..b734a38100d49cfeab18f6cd277bfc02514507a4 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index 028cca1f5432158c439c2d89eb232ede928647f6..263a9af1fc8945df0a0cade85163da89b12c5690 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2009 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
index ab02c7305e26de346a7aa194123b574b798e1505..3236f7db6c03ab5b4e20b4b50f5af7baca1aa235 100644 (file)
@@ -19,7 +19,7 @@
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>550.13</string>
+       <string>550.19</string>
        <key>CarbonLazyValues</key>
        <dict>
                <key>CodeFragmentManager</key>
        <key>CarbonLazyValues</key>
        <dict>
                <key>CodeFragmentManager</key>