{"action":"created","issue":{"url":"https://api.github.com/repos/D-Programming-Language/druntime/issues/1244","labels_url":"https://api.github.com/repos/D-Programming-Language/druntime/issues/1244/labels{/name}","comments_url":"https://api.github.com/repos/D-Programming-Language/druntime/issues/1244/comments","events_url":"https://api.github.com/repos/D-Programming-Language/druntime/issues/1244/events","html_url":"https://github.com/D-Programming-Language/druntime/pull/1244","id":72112861,"number":1244,"title":"Fix Issue 12289 - incorrect core.stdc.stdio.fpos_t alias and mbstate_t for glibc","user":{"login":"joakim-noah","id":5930876,"avatar_url":"https://avatars.githubusercontent.com/u/5930876?v=3","gravatar_id":"","url":"https://api.github.com/users/joakim-noah","html_url":"https://github.com/joakim-noah","followers_url":"https://api.github.com/users/joakim-noah/followers","following_url":"https://api.github.com/users/joakim-noah/following{/other_user}","gists_url":"https://api.github.com/users/joakim-noah/gists{/gist_id}","starred_url":"https://api.github.com/users/joakim-noah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joakim-noah/subscriptions","organizations_url":"https://api.github.com/users/joakim-noah/orgs","repos_url":"https://api.github.com/users/joakim-noah/repos","events_url":"https://api.github.com/users/joakim-noah/events{/privacy}","received_events_url":"https://api.github.com/users/joakim-noah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-30T09:40:18Z","updated_at":"2015-05-11T03:42:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/D-Programming-Language/druntime/pulls/1244","html_url":"https://github.com/D-Programming-Language/druntime/pull/1244","diff_url":"https://github.com/D-Programming-Language/druntime/pull/1244.diff","patch_url":"https://github.com/D-Programming-Language/druntime/pull/1244.patch"},"body":"I noticed `fpos_t` was defined wrongly in `core.stdc.stdio` a while back, finally fixing it.  I couldn't find where [`__darwin_off_t` was defined in Apple's libc headers for `OSX`](http://www.opensource.apple.com/source/Libc/Libc-1044.1.2/include/stdio.h), probably because the definition is automatically generated, so @jacob-carlborg or someone else will have to fill me in on that one.  [I read the headers for Solaris](http://src.illumos.org/source/xref/illumos-gate/usr/src/ucbhead/stdio.h#78), @redstar can tell me if I got it wrong.  The others were checked with a test C file run through the native preprocessor, so they should be okay.\r\n\r\nI had to fix `mbstate_t` for glibc, didn't bother checking that one on the other OS's.  I also deleted the comments about removing the shared file handle `_iobuf` eventually, as it's used more than I thought in `std.stdio`."},"comment":{"url":"https://api.github.com/repos/D-Programming-Language/druntime/issues/comments/100755002","html_url":"https://github.com/D-Programming-Language/druntime/pull/1244#issuecomment-100755002","issue_url":"https://api.github.com/repos/D-Programming-Language/druntime/issues/1244","id":100755002,"user":{"login":"joakim-noah","id":5930876,"avatar_url":"https://avatars.githubusercontent.com/u/5930876?v=3","gravatar_id":"","url":"https://api.github.com/users/joakim-noah","html_url":"https://github.com/joakim-noah","followers_url":"https://api.github.com/users/joakim-noah/followers","following_url":"https://api.github.com/users/joakim-noah/following{/other_user}","gists_url":"https://api.github.com/users/joakim-noah/gists{/gist_id}","starred_url":"https://api.github.com/users/joakim-noah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joakim-noah/subscriptions","organizations_url":"https://api.github.com/users/joakim-noah/orgs","repos_url":"https://api.github.com/users/joakim-noah/repos","events_url":"https://api.github.com/users/joakim-noah/events{/privacy}","received_events_url":"https://api.github.com/users/joakim-noah/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T03:42:20Z","updated_at":"2015-05-11T03:42:20Z","body":"Ping.  I think this is ready for merging."}}