{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/corefx/pulls/comments/52267404","id":52267404,"diff_hunk":"@@ -299,7 +303,11 @@ extern \"C\" int32_t SystemNative_ConvertErrorPalToPlatform(Error error)\n         case PAL_ENOTEMPTY:\n             return ENOTEMPTY;\n         case PAL_ENOTRECOVERABLE:\n+#if HAVE_ENOTRECOVERABLE\n             return ENOTRECOVERABLE;\n+#else\n+            return -1;\n+#endif","path":"src/Native/System.Native/pal_errno.cpp","position":30,"original_position":30,"commit_id":"fb07db98132ae9ac0484a0ec912b19e9fb1d3ad3","original_commit_id":"fb07db98132ae9ac0484a0ec912b19e9fb1d3ad3","user":{"login":"krytarowski","id":6665730,"avatar_url":"https://avatars.githubusercontent.com/u/6665730?v=3","gravatar_id":"","url":"https://api.github.com/users/krytarowski","html_url":"https://github.com/krytarowski","followers_url":"https://api.github.com/users/krytarowski/followers","following_url":"https://api.github.com/users/krytarowski/following{/other_user}","gists_url":"https://api.github.com/users/krytarowski/gists{/gist_id}","starred_url":"https://api.github.com/users/krytarowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krytarowski/subscriptions","organizations_url":"https://api.github.com/users/krytarowski/orgs","repos_url":"https://api.github.com/users/krytarowski/repos","events_url":"https://api.github.com/users/krytarowski/events{/privacy}","received_events_url":"https://api.github.com/users/krytarowski/received_events","type":"User","site_admin":false},"body":"Because of the `assert`(3) later in the code. And the comment above it.","created_at":"2016-02-09T04:47:24Z","updated_at":"2016-02-09T04:47:24Z","html_url":"https://github.com/dotnet/corefx/pull/5983#discussion_r52267404","pull_request_url":"https://api.github.com/repos/dotnet/corefx/pulls/5983","_links":{"self":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/comments/52267404"},"html":{"href":"https://github.com/dotnet/corefx/pull/5983#discussion_r52267404"},"pull_request":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/5983"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/corefx/pulls/5983","id":58703117,"html_url":"https://github.com/dotnet/corefx/pull/5983","diff_url":"https://github.com/dotnet/corefx/pull/5983.diff","patch_url":"https://github.com/dotnet/corefx/pull/5983.patch","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/5983","number":5983,"state":"open","locked":false,"title":"Feature detect errno symbols for NetBSD","user":{"login":"jasonwilliams200OK","id":2031765,"avatar_url":"https://avatars.githubusercontent.com/u/2031765?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonwilliams200OK","html_url":"https://github.com/jasonwilliams200OK","followers_url":"https://api.github.com/users/jasonwilliams200OK/followers","following_url":"https://api.github.com/users/jasonwilliams200OK/following{/other_user}","gists_url":"https://api.github.com/users/jasonwilliams200OK/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonwilliams200OK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonwilliams200OK/subscriptions","organizations_url":"https://api.github.com/users/jasonwilliams200OK/orgs","repos_url":"https://api.github.com/users/jasonwilliams200OK/repos","events_url":"https://api.github.com/users/jasonwilliams200OK/events{/privacy}","received_events_url":"https://api.github.com/users/jasonwilliams200OK/received_events","type":"User","site_admin":false},"body":"`NOTRECOVERABLE` and `EOWNERDEAD` are not available in NetBSD. This change\r\nfeature detects this fact in cmake script and pass it along to the code\r\nfile.","created_at":"2016-02-09T04:09:51Z","updated_at":"2016-02-09T04:47:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5368a19cbdd207513d148b6c316a5903c44d9808","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/corefx/pulls/5983/commits","review_comments_url":"https://api.github.com/repos/dotnet/corefx/pulls/5983/comments","review_comment_url":"https://api.github.com/repos/dotnet/corefx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/5983/comments","statuses_url":"https://api.github.com/repos/dotnet/corefx/statuses/fb07db98132ae9ac0484a0ec912b19e9fb1d3ad3","head":{"label":"jasonwilliams200OK:netbsd-patch-1","ref":"netbsd-patch-1","sha":"fb07db98132ae9ac0484a0ec912b19e9fb1d3ad3","user":{"login":"jasonwilliams200OK","id":2031765,"avatar_url":"https://avatars.githubusercontent.com/u/2031765?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonwilliams200OK","html_url":"https://github.com/jasonwilliams200OK","followers_url":"https://api.github.com/users/jasonwilliams200OK/followers","following_url":"https://api.github.com/users/jasonwilliams200OK/following{/other_user}","gists_url":"https://api.github.com/users/jasonwilliams200OK/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonwilliams200OK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonwilliams200OK/subscriptions","organizations_url":"https://api.github.com/users/jasonwilliams200OK/orgs","repos_url":"https://api.github.com/users/jasonwilliams200OK/repos","events_url":"https://api.github.com/users/jasonwilliams200OK/events{/privacy}","received_events_url":"https://api.github.com/users/jasonwilliams200OK/received_events","type":"User","site_admin":false},"repo":{"id":37428054,"name":"corefx","full_name":"jasonwilliams200OK/corefx","owner":{"login":"jasonwilliams200OK","id":2031765,"avatar_url":"https://avatars.githubusercontent.com/u/2031765?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonwilliams200OK","html_url":"https://github.com/jasonwilliams200OK","followers_url":"https://api.github.com/users/jasonwilliams200OK/followers","following_url":"https://api.github.com/users/jasonwilliams200OK/following{/other_user}","gists_url":"https://api.github.com/users/jasonwilliams200OK/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonwilliams200OK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonwilliams200OK/subscriptions","organizations_url":"https://api.github.com/users/jasonwilliams200OK/orgs","repos_url":"https://api.github.com/users/jasonwilliams200OK/repos","events_url":"https://api.github.com/users/jasonwilliams200OK/events{/privacy}","received_events_url":"https://api.github.com/users/jasonwilliams200OK/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jasonwilliams200OK/corefx","description":"This repo contains the .NET Core foundational libraries, called CoreFX. It includes classes for collections, file systems, console, XML, async and many others.","fork":true,"url":"https://api.github.com/repos/jasonwilliams200OK/corefx","forks_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/forks","keys_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/teams","hooks_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/hooks","issue_events_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/issues/events{/number}","events_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/events","assignees_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/assignees{/user}","branches_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/branches{/branch}","tags_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/tags","blobs_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/git/refs{/sha}","trees_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/statuses/{sha}","languages_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/languages","stargazers_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/stargazers","contributors_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/contributors","subscribers_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/subscribers","subscription_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/subscription","commits_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/commits{/sha}","git_commits_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/git/commits{/sha}","comments_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/comments{/number}","issue_comment_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/issues/comments{/number}","contents_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/contents/{+path}","compare_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/merges","archive_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/downloads","issues_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/issues{/number}","pulls_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/pulls{/number}","milestones_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/milestones{/number}","notifications_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/labels{/name}","releases_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/releases{/id}","deployments_url":"https://api.github.com/repos/jasonwilliams200OK/corefx/deployments","created_at":"2015-06-14T20:16:35Z","updated_at":"2015-06-14T20:16:54Z","pushed_at":"2016-02-09T04:15:40Z","git_url":"git://github.com/jasonwilliams200OK/corefx.git","ssh_url":"git@github.com:jasonwilliams200OK/corefx.git","clone_url":"https://github.com/jasonwilliams200OK/corefx.git","svn_url":"https://github.com/jasonwilliams200OK/corefx","homepage":"http://dotnet.github.io/core/","size":51962,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"dotnet:master","ref":"master","sha":"241785b1e3afb700169478651974bbfe7687ac20","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":26295345,"name":"corefx","full_name":"dotnet/corefx","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/corefx","description":"This repo contains the .NET Core foundational libraries, called CoreFX. It includes classes for collections, file systems, console, XML, async and many others.","fork":false,"url":"https://api.github.com/repos/dotnet/corefx","forks_url":"https://api.github.com/repos/dotnet/corefx/forks","keys_url":"https://api.github.com/repos/dotnet/corefx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/corefx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/corefx/teams","hooks_url":"https://api.github.com/repos/dotnet/corefx/hooks","issue_events_url":"https://api.github.com/repos/dotnet/corefx/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/corefx/events","assignees_url":"https://api.github.com/repos/dotnet/corefx/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/corefx/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/corefx/tags","blobs_url":"https://api.github.com/repos/dotnet/corefx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/corefx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/corefx/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/corefx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/corefx/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/corefx/languages","stargazers_url":"https://api.github.com/repos/dotnet/corefx/stargazers","contributors_url":"https://api.github.com/repos/dotnet/corefx/contributors","subscribers_url":"https://api.github.com/repos/dotnet/corefx/subscribers","subscription_url":"https://api.github.com/repos/dotnet/corefx/subscription","commits_url":"https://api.github.com/repos/dotnet/corefx/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/corefx/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/corefx/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/corefx/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/corefx/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/corefx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/corefx/merges","archive_url":"https://api.github.com/repos/dotnet/corefx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/corefx/downloads","issues_url":"https://api.github.com/repos/dotnet/corefx/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/corefx/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/corefx/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/corefx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/corefx/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/corefx/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/corefx/deployments","created_at":"2014-11-06T23:42:48Z","updated_at":"2016-02-09T04:29:55Z","pushed_at":"2016-02-09T04:15:41Z","git_url":"git://github.com/dotnet/corefx.git","ssh_url":"git@github.com:dotnet/corefx.git","clone_url":"https://github.com/dotnet/corefx.git","svn_url":"https://github.com/dotnet/corefx","homepage":"http://dotnet.github.io/","size":62138,"stargazers_count":9088,"watchers_count":9088,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2111,"mirror_url":null,"open_issues_count":836,"forks":2111,"open_issues":836,"watchers":9088,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/5983"},"html":{"href":"https://github.com/dotnet/corefx/pull/5983"},"issue":{"href":"https://api.github.com/repos/dotnet/corefx/issues/5983"},"comments":{"href":"https://api.github.com/repos/dotnet/corefx/issues/5983/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/5983/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/5983/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/corefx/statuses/fb07db98132ae9ac0484a0ec912b19e9fb1d3ad3"}}}}