{"action":"created","comment":{"url":"https://api.github.com/repos/switchbrew/switch-tools/pulls/comments/182849319","pull_request_review_id":113733254,"id":182849319,"diff_hunk":"@@ -513,12 +513,9 @@ int main(int argc, char **argv) {\n \t\treturn -1;\n \t}\n \n-\n-\tchar *msyscon = getenv(\"MSYSCON\");\n-\n-\tif (msyscon && 0 == strcmp(msyscon,\"mintty.exe\")) {\n-\t\tsetvbuf(stdout, 0, _IONBF, 0);\n-\t}\n+#ifdef _WIN32","path":"src/nxlink.c","position":10,"original_position":10,"commit_id":"55414b37ff1a6fd67d9b11ad4d15af1e68742679","original_commit_id":"55414b37ff1a6fd67d9b11ad4d15af1e68742679","user":{"login":"yellows8","id":585494,"avatar_url":"https://avatars0.githubusercontent.com/u/585494?v=4","gravatar_id":"","url":"https://api.github.com/users/yellows8","html_url":"https://github.com/yellows8","followers_url":"https://api.github.com/users/yellows8/followers","following_url":"https://api.github.com/users/yellows8/following{/other_user}","gists_url":"https://api.github.com/users/yellows8/gists{/gist_id}","starred_url":"https://api.github.com/users/yellows8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yellows8/subscriptions","organizations_url":"https://api.github.com/users/yellows8/orgs","repos_url":"https://api.github.com/users/yellows8/repos","events_url":"https://api.github.com/users/yellows8/events{/privacy}","received_events_url":"https://api.github.com/users/yellows8/received_events","type":"User","site_admin":false},"body":"Use same alignment as nearby code?","created_at":"2018-04-19T18:51:38Z","updated_at":"2018-04-19T18:51:38Z","html_url":"https://github.com/switchbrew/switch-tools/pull/6#discussion_r182849319","pull_request_url":"https://api.github.com/repos/switchbrew/switch-tools/pulls/6","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/switchbrew/switch-tools/pulls/comments/182849319"},"html":{"href":"https://github.com/switchbrew/switch-tools/pull/6#discussion_r182849319"},"pull_request":{"href":"https://api.github.com/repos/switchbrew/switch-tools/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/switchbrew/switch-tools/pulls/6","id":182630270,"html_url":"https://github.com/switchbrew/switch-tools/pull/6","diff_url":"https://github.com/switchbrew/switch-tools/pull/6.diff","patch_url":"https://github.com/switchbrew/switch-tools/pull/6.patch","issue_url":"https://api.github.com/repos/switchbrew/switch-tools/issues/6","number":6,"state":"open","locked":false,"title":"use unbuffered IO on windows","user":{"login":"WinterMute","id":101194,"avatar_url":"https://avatars3.githubusercontent.com/u/101194?v=4","gravatar_id":"","url":"https://api.github.com/users/WinterMute","html_url":"https://github.com/WinterMute","followers_url":"https://api.github.com/users/WinterMute/followers","following_url":"https://api.github.com/users/WinterMute/following{/other_user}","gists_url":"https://api.github.com/users/WinterMute/gists{/gist_id}","starred_url":"https://api.github.com/users/WinterMute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WinterMute/subscriptions","organizations_url":"https://api.github.com/users/WinterMute/orgs","repos_url":"https://api.github.com/users/WinterMute/repos","events_url":"https://api.github.com/users/WinterMute/events{/privacy}","received_events_url":"https://api.github.com/users/WinterMute/received_events","type":"User","site_admin":false},"body":"msys2 has multiple terminal emulators which all hide buffered output until app finishes. Just using unbuffered IO by default on windows is better than trying to check for all of them.","created_at":"2018-04-18T23:34:12Z","updated_at":"2018-04-19T18:51:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3fa6ea57ae77e05c5462794e198fb0603ae547bf","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/switchbrew/switch-tools/pulls/6/commits","review_comments_url":"https://api.github.com/repos/switchbrew/switch-tools/pulls/6/comments","review_comment_url":"https://api.github.com/repos/switchbrew/switch-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/switchbrew/switch-tools/issues/6/comments","statuses_url":"https://api.github.com/repos/switchbrew/switch-tools/statuses/55414b37ff1a6fd67d9b11ad4d15af1e68742679","head":{"label":"devkitPro:msys-fix","ref":"msys-fix","sha":"55414b37ff1a6fd67d9b11ad4d15af1e68742679","user":{"login":"devkitPro","id":7538897,"avatar_url":"https://avatars3.githubusercontent.com/u/7538897?v=4","gravatar_id":"","url":"https://api.github.com/users/devkitPro","html_url":"https://github.com/devkitPro","followers_url":"https://api.github.com/users/devkitPro/followers","following_url":"https://api.github.com/users/devkitPro/following{/other_user}","gists_url":"https://api.github.com/users/devkitPro/gists{/gist_id}","starred_url":"https://api.github.com/users/devkitPro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devkitPro/subscriptions","organizations_url":"https://api.github.com/users/devkitPro/orgs","repos_url":"https://api.github.com/users/devkitPro/repos","events_url":"https://api.github.com/users/devkitPro/events{/privacy}","received_events_url":"https://api.github.com/users/devkitPro/received_events","type":"Organization","site_admin":false},"repo":{"id":121066600,"name":"switch-tools","full_name":"devkitPro/switch-tools","owner":{"login":"devkitPro","id":7538897,"avatar_url":"https://avatars3.githubusercontent.com/u/7538897?v=4","gravatar_id":"","url":"https://api.github.com/users/devkitPro","html_url":"https://github.com/devkitPro","followers_url":"https://api.github.com/users/devkitPro/followers","following_url":"https://api.github.com/users/devkitPro/following{/other_user}","gists_url":"https://api.github.com/users/devkitPro/gists{/gist_id}","starred_url":"https://api.github.com/users/devkitPro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devkitPro/subscriptions","organizations_url":"https://api.github.com/users/devkitPro/orgs","repos_url":"https://api.github.com/users/devkitPro/repos","events_url":"https://api.github.com/users/devkitPro/events{/privacy}","received_events_url":"https://api.github.com/users/devkitPro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/devkitPro/switch-tools","description":null,"fork":true,"url":"https://api.github.com/repos/devkitPro/switch-tools","forks_url":"https://api.github.com/repos/devkitPro/switch-tools/forks","keys_url":"https://api.github.com/repos/devkitPro/switch-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devkitPro/switch-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devkitPro/switch-tools/teams","hooks_url":"https://api.github.com/repos/devkitPro/switch-tools/hooks","issue_events_url":"https://api.github.com/repos/devkitPro/switch-tools/issues/events{/number}","events_url":"https://api.github.com/repos/devkitPro/switch-tools/events","assignees_url":"https://api.github.com/repos/devkitPro/switch-tools/assignees{/user}","branches_url":"https://api.github.com/repos/devkitPro/switch-tools/branches{/branch}","tags_url":"https://api.github.com/repos/devkitPro/switch-tools/tags","blobs_url":"https://api.github.com/repos/devkitPro/switch-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devkitPro/switch-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devkitPro/switch-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/devkitPro/switch-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devkitPro/switch-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/devkitPro/switch-tools/languages","stargazers_url":"https://api.github.com/repos/devkitPro/switch-tools/stargazers","contributors_url":"https://api.github.com/repos/devkitPro/switch-tools/contributors","subscribers_url":"https://api.github.com/repos/devkitPro/switch-tools/subscribers","subscription_url":"https://api.github.com/repos/devkitPro/switch-tools/subscription","commits_url":"https://api.github.com/repos/devkitPro/switch-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/devkitPro/switch-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/devkitPro/switch-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/devkitPro/switch-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/devkitPro/switch-tools/contents/{+path}","compare_url":"https://api.github.com/repos/devkitPro/switch-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devkitPro/switch-tools/merges","archive_url":"https://api.github.com/repos/devkitPro/switch-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devkitPro/switch-tools/downloads","issues_url":"https://api.github.com/repos/devkitPro/switch-tools/issues{/number}","pulls_url":"https://api.github.com/repos/devkitPro/switch-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/devkitPro/switch-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/devkitPro/switch-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devkitPro/switch-tools/labels{/name}","releases_url":"https://api.github.com/repos/devkitPro/switch-tools/releases{/id}","deployments_url":"https://api.github.com/repos/devkitPro/switch-tools/deployments","created_at":"2018-02-11T00:17:25Z","updated_at":"2018-03-21T08:08:21Z","pushed_at":"2018-04-17T22:28:37Z","git_url":"git://github.com/devkitPro/switch-tools.git","ssh_url":"git@github.com:devkitPro/switch-tools.git","clone_url":"https://github.com/devkitPro/switch-tools.git","svn_url":"https://github.com/devkitPro/switch-tools","homepage":null,"size":50,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"switchbrew:master","ref":"master","sha":"42739f52c942930e5763826ebd07c79a6e1a3cbb","user":{"login":"switchbrew","id":31827450,"avatar_url":"https://avatars3.githubusercontent.com/u/31827450?v=4","gravatar_id":"","url":"https://api.github.com/users/switchbrew","html_url":"https://github.com/switchbrew","followers_url":"https://api.github.com/users/switchbrew/followers","following_url":"https://api.github.com/users/switchbrew/following{/other_user}","gists_url":"https://api.github.com/users/switchbrew/gists{/gist_id}","starred_url":"https://api.github.com/users/switchbrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/switchbrew/subscriptions","organizations_url":"https://api.github.com/users/switchbrew/orgs","repos_url":"https://api.github.com/users/switchbrew/repos","events_url":"https://api.github.com/users/switchbrew/events{/privacy}","received_events_url":"https://api.github.com/users/switchbrew/received_events","type":"Organization","site_admin":false},"repo":{"id":115295518,"name":"switch-tools","full_name":"switchbrew/switch-tools","owner":{"login":"switchbrew","id":31827450,"avatar_url":"https://avatars3.githubusercontent.com/u/31827450?v=4","gravatar_id":"","url":"https://api.github.com/users/switchbrew","html_url":"https://github.com/switchbrew","followers_url":"https://api.github.com/users/switchbrew/followers","following_url":"https://api.github.com/users/switchbrew/following{/other_user}","gists_url":"https://api.github.com/users/switchbrew/gists{/gist_id}","starred_url":"https://api.github.com/users/switchbrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/switchbrew/subscriptions","organizations_url":"https://api.github.com/users/switchbrew/orgs","repos_url":"https://api.github.com/users/switchbrew/repos","events_url":"https://api.github.com/users/switchbrew/events{/privacy}","received_events_url":"https://api.github.com/users/switchbrew/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/switchbrew/switch-tools","description":null,"fork":false,"url":"https://api.github.com/repos/switchbrew/switch-tools","forks_url":"https://api.github.com/repos/switchbrew/switch-tools/forks","keys_url":"https://api.github.com/repos/switchbrew/switch-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/switchbrew/switch-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/switchbrew/switch-tools/teams","hooks_url":"https://api.github.com/repos/switchbrew/switch-tools/hooks","issue_events_url":"https://api.github.com/repos/switchbrew/switch-tools/issues/events{/number}","events_url":"https://api.github.com/repos/switchbrew/switch-tools/events","assignees_url":"https://api.github.com/repos/switchbrew/switch-tools/assignees{/user}","branches_url":"https://api.github.com/repos/switchbrew/switch-tools/branches{/branch}","tags_url":"https://api.github.com/repos/switchbrew/switch-tools/tags","blobs_url":"https://api.github.com/repos/switchbrew/switch-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/switchbrew/switch-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/switchbrew/switch-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/switchbrew/switch-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/switchbrew/switch-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/switchbrew/switch-tools/languages","stargazers_url":"https://api.github.com/repos/switchbrew/switch-tools/stargazers","contributors_url":"https://api.github.com/repos/switchbrew/switch-tools/contributors","subscribers_url":"https://api.github.com/repos/switchbrew/switch-tools/subscribers","subscription_url":"https://api.github.com/repos/switchbrew/switch-tools/subscription","commits_url":"https://api.github.com/repos/switchbrew/switch-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/switchbrew/switch-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/switchbrew/switch-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/switchbrew/switch-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/switchbrew/switch-tools/contents/{+path}","compare_url":"https://api.github.com/repos/switchbrew/switch-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/switchbrew/switch-tools/merges","archive_url":"https://api.github.com/repos/switchbrew/switch-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/switchbrew/switch-tools/downloads","issues_url":"https://api.github.com/repos/switchbrew/switch-tools/issues{/number}","pulls_url":"https://api.github.com/repos/switchbrew/switch-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/switchbrew/switch-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/switchbrew/switch-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/switchbrew/switch-tools/labels{/name}","releases_url":"https://api.github.com/repos/switchbrew/switch-tools/releases{/id}","deployments_url":"https://api.github.com/repos/switchbrew/switch-tools/deployments","created_at":"2017-12-25T01:11:49Z","updated_at":"2018-04-19T18:48:57Z","pushed_at":"2018-04-19T18:48:56Z","git_url":"git://github.com/switchbrew/switch-tools.git","ssh_url":"git@github.com:switchbrew/switch-tools.git","clone_url":"https://github.com/switchbrew/switch-tools.git","svn_url":"https://github.com/switchbrew/switch-tools","homepage":null,"size":43,"stargazers_count":31,"watchers_count":31,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc"},"forks":8,"open_issues":1,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/switchbrew/switch-tools/pulls/6"},"html":{"href":"https://github.com/switchbrew/switch-tools/pull/6"},"issue":{"href":"https://api.github.com/repos/switchbrew/switch-tools/issues/6"},"comments":{"href":"https://api.github.com/repos/switchbrew/switch-tools/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/switchbrew/switch-tools/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/switchbrew/switch-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/switchbrew/switch-tools/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/switchbrew/switch-tools/statuses/55414b37ff1a6fd67d9b11ad4d15af1e68742679"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"yellows8"}}