{"action":"created","comment":{"url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/comments/142478439","pull_request_review_id":66846186,"id":142478439,"diff_hunk":"@@ -38,8 +38,8 @@ open class Host: NSObject {\n     static internal func currentHostName() -> String {\n         let hname = UnsafeMutablePointer<Int8>.allocate(capacity: Int(NI_MAXHOST))\n         defer {\n-            hname.deinitialize()\n-            hname.deallocate(capacity: Int(NI_MAXHOST))\n+            hname.deinitialize(count: 1)","path":"Foundation/Host.swift","position":6,"original_position":6,"commit_id":"542907901a82f06dcfcac2b02f00b41b2b3102b0","original_commit_id":"542907901a82f06dcfcac2b02f00b41b2b3102b0","user":{"login":"kelvin13","id":2556986,"avatar_url":"https://avatars0.githubusercontent.com/u/2556986?v=4","gravatar_id":"","url":"https://api.github.com/users/kelvin13","html_url":"https://github.com/kelvin13","followers_url":"https://api.github.com/users/kelvin13/followers","following_url":"https://api.github.com/users/kelvin13/following{/other_user}","gists_url":"https://api.github.com/users/kelvin13/gists{/gist_id}","starred_url":"https://api.github.com/users/kelvin13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelvin13/subscriptions","organizations_url":"https://api.github.com/users/kelvin13/orgs","repos_url":"https://api.github.com/users/kelvin13/repos","events_url":"https://api.github.com/users/kelvin13/events{/privacy}","received_events_url":"https://api.github.com/users/kelvin13/received_events","type":"User","site_admin":false},"body":"deinitialize does nothing for trivial types, it doesn’t actually need to be there","created_at":"2017-10-03T18:08:25Z","updated_at":"2017-10-03T18:08:25Z","html_url":"https://github.com/apple/swift-corelibs-foundation/pull/1247#discussion_r142478439","pull_request_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/1247","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/comments/142478439"},"html":{"href":"https://github.com/apple/swift-corelibs-foundation/pull/1247#discussion_r142478439"},"pull_request":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/1247"}},"in_reply_to_id":142357716},"pull_request":{"url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/1247","id":144304072,"html_url":"https://github.com/apple/swift-corelibs-foundation/pull/1247","diff_url":"https://github.com/apple/swift-corelibs-foundation/pull/1247.diff","patch_url":"https://github.com/apple/swift-corelibs-foundation/pull/1247.patch","issue_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/1247","number":1247,"state":"open","locked":false,"title":"Fix against se-0184a","user":{"login":"kelvin13","id":2556986,"avatar_url":"https://avatars0.githubusercontent.com/u/2556986?v=4","gravatar_id":"","url":"https://api.github.com/users/kelvin13","html_url":"https://github.com/kelvin13","followers_url":"https://api.github.com/users/kelvin13/followers","following_url":"https://api.github.com/users/kelvin13/following{/other_user}","gists_url":"https://api.github.com/users/kelvin13/gists{/gist_id}","starred_url":"https://api.github.com/users/kelvin13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelvin13/subscriptions","organizations_url":"https://api.github.com/users/kelvin13/orgs","repos_url":"https://api.github.com/users/kelvin13/repos","events_url":"https://api.github.com/users/kelvin13/events{/privacy}","received_events_url":"https://api.github.com/users/kelvin13/received_events","type":"User","site_admin":false},"body":"Patch for [SE 0184a](https://github.com/apple/swift/pull/12200)","created_at":"2017-10-02T23:04:19Z","updated_at":"2017-10-03T18:08:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8dba3a06faf3366aa892b4b1a20311ca0fa02df3","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/1247/commits","review_comments_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/1247/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/1247/comments","statuses_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/statuses/542907901a82f06dcfcac2b02f00b41b2b3102b0","head":{"label":"kelvin13:se-0184a","ref":"se-0184a","sha":"542907901a82f06dcfcac2b02f00b41b2b3102b0","user":{"login":"kelvin13","id":2556986,"avatar_url":"https://avatars0.githubusercontent.com/u/2556986?v=4","gravatar_id":"","url":"https://api.github.com/users/kelvin13","html_url":"https://github.com/kelvin13","followers_url":"https://api.github.com/users/kelvin13/followers","following_url":"https://api.github.com/users/kelvin13/following{/other_user}","gists_url":"https://api.github.com/users/kelvin13/gists{/gist_id}","starred_url":"https://api.github.com/users/kelvin13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelvin13/subscriptions","organizations_url":"https://api.github.com/users/kelvin13/orgs","repos_url":"https://api.github.com/users/kelvin13/repos","events_url":"https://api.github.com/users/kelvin13/events{/privacy}","received_events_url":"https://api.github.com/users/kelvin13/received_events","type":"User","site_admin":false},"repo":{"id":100672098,"name":"swift-corelibs-foundation","full_name":"kelvin13/swift-corelibs-foundation","owner":{"login":"kelvin13","id":2556986,"avatar_url":"https://avatars0.githubusercontent.com/u/2556986?v=4","gravatar_id":"","url":"https://api.github.com/users/kelvin13","html_url":"https://github.com/kelvin13","followers_url":"https://api.github.com/users/kelvin13/followers","following_url":"https://api.github.com/users/kelvin13/following{/other_user}","gists_url":"https://api.github.com/users/kelvin13/gists{/gist_id}","starred_url":"https://api.github.com/users/kelvin13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelvin13/subscriptions","organizations_url":"https://api.github.com/users/kelvin13/orgs","repos_url":"https://api.github.com/users/kelvin13/repos","events_url":"https://api.github.com/users/kelvin13/events{/privacy}","received_events_url":"https://api.github.com/users/kelvin13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kelvin13/swift-corelibs-foundation","description":"The Foundation Project, providing core utilities, internationalization, and OS independence","fork":true,"url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation","forks_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/forks","keys_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/teams","hooks_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/hooks","issue_events_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/issues/events{/number}","events_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/events","assignees_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/assignees{/user}","branches_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/branches{/branch}","tags_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/tags","blobs_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/git/refs{/sha}","trees_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/statuses/{sha}","languages_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/languages","stargazers_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/stargazers","contributors_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/contributors","subscribers_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/subscribers","subscription_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/subscription","commits_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/commits{/sha}","git_commits_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/git/commits{/sha}","comments_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/comments{/number}","issue_comment_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/issues/comments{/number}","contents_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/contents/{+path}","compare_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/merges","archive_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/downloads","issues_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/issues{/number}","pulls_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/pulls{/number}","milestones_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/milestones{/number}","notifications_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/labels{/name}","releases_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/releases{/id}","deployments_url":"https://api.github.com/repos/kelvin13/swift-corelibs-foundation/deployments","created_at":"2017-08-18T04:16:49Z","updated_at":"2017-08-18T04:16:56Z","pushed_at":"2017-10-03T02:03:52Z","git_url":"git://github.com/kelvin13/swift-corelibs-foundation.git","ssh_url":"git@github.com:kelvin13/swift-corelibs-foundation.git","clone_url":"https://github.com/kelvin13/swift-corelibs-foundation.git","svn_url":"https://github.com/kelvin13/swift-corelibs-foundation","homepage":"swift.org","size":11260,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"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":"58add20a169fd0e45656157be3817e0efd32724b","user":{"login":"apple","id":10639145,"avatar_url":"https://avatars0.githubusercontent.com/u/10639145?v=4","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://avatars0.githubusercontent.com/u/10639145?v=4","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}","deployments_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/deployments","created_at":"2015-11-09T20:12:23Z","updated_at":"2017-10-03T08:08:27Z","pushed_at":"2017-10-03T08:50:23Z","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":11250,"stargazers_count":2618,"watchers_count":2618,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":605,"mirror_url":null,"open_issues_count":46,"forks":605,"open_issues":46,"watchers":2618,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/1247"},"html":{"href":"https://github.com/apple/swift-corelibs-foundation/pull/1247"},"issue":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/1247"},"comments":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/1247/comments"},"review_comments":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/1247/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/1247/commits"},"statuses":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/statuses/542907901a82f06dcfcac2b02f00b41b2b3102b0"}},"author_association":"NONE"}}
{"actor":{"display_login":"kelvin13"}}