{"action":"created","comment":{"url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/comments/48081060","id":48081060,"diff_hunk":"@@ -77,7 +77,7 @@ extension NSRunLoop {\n     public func runMode(mode: String, beforeDate limitDate: NSDate) -> Bool {\n         let runloopResult = CFRunLoopRunInMode(mode._cfObject, limitDate.timeIntervalSinceNow, false)\n #if os(Linux)\n-        return runloopResult == 2 || runloopResult == 3\n+        return runloopResult == kCFRunLoopRunHandledSource || runloopResult == kCFRunLoopRunTimedOut","path":"Foundation/NSRunLoop.swift","position":16,"original_position":16,"commit_id":"f4e48e79d633eb1aceddd100563bb8e4e4bb7d2e","original_commit_id":"f4e48e79d633eb1aceddd100563bb8e4e4bb7d2e","user":{"login":"kovpas","id":1967999,"avatar_url":"https://avatars.githubusercontent.com/u/1967999?v=3","gravatar_id":"","url":"https://api.github.com/users/kovpas","html_url":"https://github.com/kovpas","followers_url":"https://api.github.com/users/kovpas/followers","following_url":"https://api.github.com/users/kovpas/following{/other_user}","gists_url":"https://api.github.com/users/kovpas/gists{/gist_id}","starred_url":"https://api.github.com/users/kovpas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kovpas/subscriptions","organizations_url":"https://api.github.com/users/kovpas/orgs","repos_url":"https://api.github.com/users/kovpas/repos","events_url":"https://api.github.com/users/kovpas/events{/privacy}","received_events_url":"https://api.github.com/users/kovpas/received_events","type":"User","site_admin":false},"body":"Crap. I remember I fixed that. Probably rebase/merge/revert problem. Sorry, will update.","created_at":"2015-12-18T23:24:10Z","updated_at":"2015-12-18T23:24:10Z","html_url":"https://github.com/apple/swift-corelibs-foundation/pull/151#discussion_r48081060","pull_request_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/151","_links":{"self":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/comments/48081060"},"html":{"href":"https://github.com/apple/swift-corelibs-foundation/pull/151#discussion_r48081060"},"pull_request":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/151"}}},"pull_request":{"url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/151","id":53898307,"html_url":"https://github.com/apple/swift-corelibs-foundation/pull/151","diff_url":"https://github.com/apple/swift-corelibs-foundation/pull/151.diff","patch_url":"https://github.com/apple/swift-corelibs-foundation/pull/151.patch","issue_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/151","number":151,"state":"open","locked":false,"title":"Update constants","user":{"login":"kovpas","id":1967999,"avatar_url":"https://avatars.githubusercontent.com/u/1967999?v=3","gravatar_id":"","url":"https://api.github.com/users/kovpas","html_url":"https://github.com/kovpas","followers_url":"https://api.github.com/users/kovpas/followers","following_url":"https://api.github.com/users/kovpas/following{/other_user}","gists_url":"https://api.github.com/users/kovpas/gists{/gist_id}","starred_url":"https://api.github.com/users/kovpas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kovpas/subscriptions","organizations_url":"https://api.github.com/users/kovpas/orgs","repos_url":"https://api.github.com/users/kovpas/repos","events_url":"https://api.github.com/users/kovpas/events{/privacy}","received_events_url":"https://api.github.com/users/kovpas/received_events","type":"User","site_admin":false},"body":"As we're now using `_GNU_SOURCE` in the compiler flags for Linux, it's ok to remove `__USE_GNU` from `CFBundle_Binary.c`\r\n\r\nAlso, I replaced string constants with CF ones, so they could be defined in one place. There are still similar (`let NSConst: String = \"kCFConst\"`) defines in `NSStream`, but `CFStream` is not compatible with linux yet.","created_at":"2015-12-16T21:05:51Z","updated_at":"2015-12-18T23:24:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16c270144f58705d960f53d89d3406d591afa404","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/151/commits","review_comments_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/151/comments","review_comment_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/151/comments","statuses_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/statuses/f4e48e79d633eb1aceddd100563bb8e4e4bb7d2e","head":{"label":"kovpas:update_constants","ref":"update_constants","sha":"f4e48e79d633eb1aceddd100563bb8e4e4bb7d2e","user":{"login":"kovpas","id":1967999,"avatar_url":"https://avatars.githubusercontent.com/u/1967999?v=3","gravatar_id":"","url":"https://api.github.com/users/kovpas","html_url":"https://github.com/kovpas","followers_url":"https://api.github.com/users/kovpas/followers","following_url":"https://api.github.com/users/kovpas/following{/other_user}","gists_url":"https://api.github.com/users/kovpas/gists{/gist_id}","starred_url":"https://api.github.com/users/kovpas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kovpas/subscriptions","organizations_url":"https://api.github.com/users/kovpas/orgs","repos_url":"https://api.github.com/users/kovpas/repos","events_url":"https://api.github.com/users/kovpas/events{/privacy}","received_events_url":"https://api.github.com/users/kovpas/received_events","type":"User","site_admin":false},"repo":{"id":47553181,"name":"swift-corelibs-foundation","full_name":"kovpas/swift-corelibs-foundation","owner":{"login":"kovpas","id":1967999,"avatar_url":"https://avatars.githubusercontent.com/u/1967999?v=3","gravatar_id":"","url":"https://api.github.com/users/kovpas","html_url":"https://github.com/kovpas","followers_url":"https://api.github.com/users/kovpas/followers","following_url":"https://api.github.com/users/kovpas/following{/other_user}","gists_url":"https://api.github.com/users/kovpas/gists{/gist_id}","starred_url":"https://api.github.com/users/kovpas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kovpas/subscriptions","organizations_url":"https://api.github.com/users/kovpas/orgs","repos_url":"https://api.github.com/users/kovpas/repos","events_url":"https://api.github.com/users/kovpas/events{/privacy}","received_events_url":"https://api.github.com/users/kovpas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kovpas/swift-corelibs-foundation","description":"The Foundation Project, providing core utilities, internationalization, and OS independence","fork":true,"url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation","forks_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/forks","keys_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/teams","hooks_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/hooks","issue_events_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/issues/events{/number}","events_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/events","assignees_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/assignees{/user}","branches_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/branches{/branch}","tags_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/tags","blobs_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/git/refs{/sha}","trees_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/statuses/{sha}","languages_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/languages","stargazers_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/stargazers","contributors_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/contributors","subscribers_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/subscribers","subscription_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/subscription","commits_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/commits{/sha}","git_commits_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/git/commits{/sha}","comments_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/comments{/number}","issue_comment_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/issues/comments{/number}","contents_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/contents/{+path}","compare_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/merges","archive_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/downloads","issues_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/issues{/number}","pulls_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/pulls{/number}","milestones_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/milestones{/number}","notifications_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/labels{/name}","releases_url":"https://api.github.com/repos/kovpas/swift-corelibs-foundation/releases{/id}","created_at":"2015-12-07T13:18:35Z","updated_at":"2015-12-07T13:18:39Z","pushed_at":"2015-12-18T18:56:47Z","git_url":"git://github.com/kovpas/swift-corelibs-foundation.git","ssh_url":"git@github.com:kovpas/swift-corelibs-foundation.git","clone_url":"https://github.com/kovpas/swift-corelibs-foundation.git","svn_url":"https://github.com/kovpas/swift-corelibs-foundation","homepage":"swift.org","size":3007,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apple:master","ref":"master","sha":"1fc9432409a3eb4cfb9fd413afa0c0d807f02222","user":{"login":"apple","id":10639145,"avatar_url":"https://avatars.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"repo":{"id":45863890,"name":"swift-corelibs-foundation","full_name":"apple/swift-corelibs-foundation","owner":{"login":"apple","id":10639145,"avatar_url":"https://avatars.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apple/swift-corelibs-foundation","description":"The Foundation Project, providing core utilities, internationalization, and OS independence","fork":false,"url":"https://api.github.com/repos/apple/swift-corelibs-foundation","forks_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/forks","keys_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/teams","hooks_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/hooks","issue_events_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/events{/number}","events_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/events","assignees_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/assignees{/user}","branches_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/branches{/branch}","tags_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/tags","blobs_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/git/refs{/sha}","trees_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/statuses/{sha}","languages_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/languages","stargazers_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/stargazers","contributors_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/contributors","subscribers_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/subscribers","subscription_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/subscription","commits_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/commits{/sha}","git_commits_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/git/commits{/sha}","comments_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/comments{/number}","issue_comment_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/comments{/number}","contents_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/contents/{+path}","compare_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/merges","archive_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/downloads","issues_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues{/number}","pulls_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls{/number}","milestones_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/milestones{/number}","notifications_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/labels{/name}","releases_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/releases{/id}","created_at":"2015-11-09T20:12:23Z","updated_at":"2015-12-18T21:32:54Z","pushed_at":"2015-12-18T23:02:04Z","git_url":"git://github.com/apple/swift-corelibs-foundation.git","ssh_url":"git@github.com:apple/swift-corelibs-foundation.git","clone_url":"https://github.com/apple/swift-corelibs-foundation.git","svn_url":"https://github.com/apple/swift-corelibs-foundation","homepage":"swift.org","size":3161,"stargazers_count":1426,"watchers_count":1426,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":246,"mirror_url":null,"open_issues_count":15,"forks":246,"open_issues":15,"watchers":1426,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/151"},"html":{"href":"https://github.com/apple/swift-corelibs-foundation/pull/151"},"issue":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/151"},"comments":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/151/comments"},"review_comments":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/151/comments"},"review_comment":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/151/commits"},"statuses":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/statuses/f4e48e79d633eb1aceddd100563bb8e4e4bb7d2e"}}}}