{"action":"created","issue":{"url":"https://api.github.com/repos/micropython/micropython/issues/1339","labels_url":"https://api.github.com/repos/micropython/micropython/issues/1339/labels{/name}","comments_url":"https://api.github.com/repos/micropython/micropython/issues/1339/comments","events_url":"https://api.github.com/repos/micropython/micropython/issues/1339/events","html_url":"https://github.com/micropython/micropython/pull/1339","id":89289411,"number":1339,"title":"Add O_WRONLY | O_CREAT to open call when opening file for append (\"a\")","user":{"login":"AriZuu","id":5243156,"avatar_url":"https://avatars.githubusercontent.com/u/5243156?v=3","gravatar_id":"","url":"https://api.github.com/users/AriZuu","html_url":"https://github.com/AriZuu","followers_url":"https://api.github.com/users/AriZuu/followers","following_url":"https://api.github.com/users/AriZuu/following{/other_user}","gists_url":"https://api.github.com/users/AriZuu/gists{/gist_id}","starred_url":"https://api.github.com/users/AriZuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AriZuu/subscriptions","organizations_url":"https://api.github.com/users/AriZuu/orgs","repos_url":"https://api.github.com/users/AriZuu/repos","events_url":"https://api.github.com/users/AriZuu/events{/privacy}","received_events_url":"https://api.github.com/users/AriZuu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-18T13:09:19Z","updated_at":"2015-06-20T20:12:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/micropython/micropython/pulls/1339","html_url":"https://github.com/micropython/micropython/pull/1339","diff_url":"https://github.com/micropython/micropython/pull/1339.diff","patch_url":"https://github.com/micropython/micropython/pull/1339.patch"},"body":"mode. Otherwise write fails with EBADF (at least on FreeBSD). This is also now newlib stdio layer\r\nhandles \"a\" flag."},"comment":{"url":"https://api.github.com/repos/micropython/micropython/issues/comments/113816766","html_url":"https://github.com/micropython/micropython/pull/1339#issuecomment-113816766","issue_url":"https://api.github.com/repos/micropython/micropython/issues/1339","id":113816766,"user":{"login":"AriZuu","id":5243156,"avatar_url":"https://avatars.githubusercontent.com/u/5243156?v=3","gravatar_id":"","url":"https://api.github.com/users/AriZuu","html_url":"https://github.com/AriZuu","followers_url":"https://api.github.com/users/AriZuu/followers","following_url":"https://api.github.com/users/AriZuu/following{/other_user}","gists_url":"https://api.github.com/users/AriZuu/gists{/gist_id}","starred_url":"https://api.github.com/users/AriZuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AriZuu/subscriptions","organizations_url":"https://api.github.com/users/AriZuu/orgs","repos_url":"https://api.github.com/users/AriZuu/repos","events_url":"https://api.github.com/users/AriZuu/events{/privacy}","received_events_url":"https://api.github.com/users/AriZuu/received_events","type":"User","site_admin":false},"created_at":"2015-06-20T20:12:23Z","updated_at":"2015-06-20T20:12:23Z","body":"Linux open(2) manual page seems to state quite clearly, that one of O_RDONLY, O_WRONLY or O_RDWR must always be present in open flags.\r\n\r\nhttp://linux.die.net/man/2/open\r\n"}}