{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/4942","repository_url":"https://api.github.com/repos/dotnet/coreclr","labels_url":"https://api.github.com/repos/dotnet/coreclr/issues/4942/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/coreclr/issues/4942/comments","events_url":"https://api.github.com/repos/dotnet/coreclr/issues/4942/events","html_url":"https://github.com/dotnet/coreclr/pull/4942","id":154602772,"number":4942,"title":"Use a JIT-specific stdout `FILE*`.","user":{"login":"pgavlin","id":1224093,"avatar_url":"https://avatars.githubusercontent.com/u/1224093?v=3","gravatar_id":"","url":"https://api.github.com/users/pgavlin","html_url":"https://github.com/pgavlin","followers_url":"https://api.github.com/users/pgavlin/followers","following_url":"https://api.github.com/users/pgavlin/following{/other_user}","gists_url":"https://api.github.com/users/pgavlin/gists{/gist_id}","starred_url":"https://api.github.com/users/pgavlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgavlin/subscriptions","organizations_url":"https://api.github.com/users/pgavlin/orgs","repos_url":"https://api.github.com/users/pgavlin/repos","events_url":"https://api.github.com/users/pgavlin/events{/privacy}","received_events_url":"https://api.github.com/users/pgavlin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/coreclr/labels/2%20-%20In%20Progress","name":"2 - In Progress","color":"CCCCCC"},{"url":"https://api.github.com/repos/dotnet/coreclr/labels/cla-already-signed","name":"cla-already-signed","color":"009800"},{"url":"https://api.github.com/repos/dotnet/coreclr/labels/CodeGen","name":"CodeGen","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/dotnet/coreclr/milestones/4","html_url":"https://github.com/dotnet/coreclr/milestones/1.0.0-rtm","labels_url":"https://api.github.com/repos/dotnet/coreclr/milestones/4/labels","id":1321405,"number":4,"title":"1.0.0-rtm","description":"2016 (https://github.com/aspnet/Home/wiki/Roadmap)","creator":{"login":"joshfree","id":1302850,"avatar_url":"https://avatars.githubusercontent.com/u/1302850?v=3","gravatar_id":"","url":"https://api.github.com/users/joshfree","html_url":"https://github.com/joshfree","followers_url":"https://api.github.com/users/joshfree/followers","following_url":"https://api.github.com/users/joshfree/following{/other_user}","gists_url":"https://api.github.com/users/joshfree/gists{/gist_id}","starred_url":"https://api.github.com/users/joshfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshfree/subscriptions","organizations_url":"https://api.github.com/users/joshfree/orgs","repos_url":"https://api.github.com/users/joshfree/repos","events_url":"https://api.github.com/users/joshfree/events{/privacy}","received_events_url":"https://api.github.com/users/joshfree/received_events","type":"User","site_admin":false},"open_issues":98,"closed_issues":238,"state":"open","created_at":"2015-09-24T02:23:52Z","updated_at":"2016-05-13T18:55:46Z","due_on":"2016-06-30T07:00:00Z","closed_at":null},"comments":4,"created_at":"2016-05-12T23:22:00Z","updated_at":"2016-05-13T19:00:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dotnet/coreclr/pulls/4942","html_url":"https://github.com/dotnet/coreclr/pull/4942","diff_url":"https://github.com/dotnet/coreclr/pull/4942.diff","patch_url":"https://github.com/dotnet/coreclr/pull/4942.patch"},"body":"Historically, the JIT has had issues with logging inside of processes\r\nthat change the output mode of stdout (e.g. crossgen). This change\r\nreplaces the previous solution (which relied on #ifdefs) by dup'ing\r\nthe stdout file and wrapping it in a new `FILE*` set to a known\r\noutput mode."},"comment":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/comments/219131539","html_url":"https://github.com/dotnet/coreclr/pull/4942#issuecomment-219131539","issue_url":"https://api.github.com/repos/dotnet/coreclr/issues/4942","id":219131539,"user":{"login":"AndyAyersMS","id":10121823,"avatar_url":"https://avatars.githubusercontent.com/u/10121823?v=3","gravatar_id":"","url":"https://api.github.com/users/AndyAyersMS","html_url":"https://github.com/AndyAyersMS","followers_url":"https://api.github.com/users/AndyAyersMS/followers","following_url":"https://api.github.com/users/AndyAyersMS/following{/other_user}","gists_url":"https://api.github.com/users/AndyAyersMS/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyAyersMS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyAyersMS/subscriptions","organizations_url":"https://api.github.com/users/AndyAyersMS/orgs","repos_url":"https://api.github.com/users/AndyAyersMS/repos","events_url":"https://api.github.com/users/AndyAyersMS/events{/privacy}","received_events_url":"https://api.github.com/users/AndyAyersMS/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T19:00:45Z","updated_at":"2016-05-13T19:00:45Z","body":"LGTM.\r\n\r\nSuppose I can now go back and stop using stderr for some inlining dumps. Also there's a lot of ad-hoc file opening in various places in the jit. Someday we should clean this all up...."}}