{"action":"opened","number":4877,"pull_request":{"url":"https://api.github.com/repos/arduino/Arduino/pulls/4877","id":66740884,"html_url":"https://github.com/arduino/Arduino/pull/4877","diff_url":"https://github.com/arduino/Arduino/pull/4877.diff","patch_url":"https://github.com/arduino/Arduino/pull/4877.patch","issue_url":"https://api.github.com/repos/arduino/Arduino/issues/4877","number":4877,"state":"open","locked":false,"title":"SD: File open with O_WRITE would always append, even when O_APPEND is…","user":{"login":"SodaqMoja","id":5663657,"avatar_url":"https://avatars.githubusercontent.com/u/5663657?v=3","gravatar_id":"","url":"https://api.github.com/users/SodaqMoja","html_url":"https://github.com/SodaqMoja","followers_url":"https://api.github.com/users/SodaqMoja/followers","following_url":"https://api.github.com/users/SodaqMoja/following{/other_user}","gists_url":"https://api.github.com/users/SodaqMoja/gists{/gist_id}","starred_url":"https://api.github.com/users/SodaqMoja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SodaqMoja/subscriptions","organizations_url":"https://api.github.com/users/SodaqMoja/orgs","repos_url":"https://api.github.com/users/SodaqMoja/repos","events_url":"https://api.github.com/users/SodaqMoja/events{/privacy}","received_events_url":"https://api.github.com/users/SodaqMoja/received_events","type":"User","site_admin":false},"body":"… off\r\n\r\nWithout this fix it is not possible to open an existing file and truncate\r\nthe contents.","created_at":"2016-04-16T15:24:53Z","updated_at":"2016-04-16T15:24:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/arduino/Arduino/pulls/4877/commits","review_comments_url":"https://api.github.com/repos/arduino/Arduino/pulls/4877/comments","review_comment_url":"https://api.github.com/repos/arduino/Arduino/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arduino/Arduino/issues/4877/comments","statuses_url":"https://api.github.com/repos/arduino/Arduino/statuses/96d6cb72863a49baf55beb0fcc7f4ff4f828e9b0","head":{"label":"SodaqMoja:master","ref":"master","sha":"96d6cb72863a49baf55beb0fcc7f4ff4f828e9b0","user":{"login":"SodaqMoja","id":5663657,"avatar_url":"https://avatars.githubusercontent.com/u/5663657?v=3","gravatar_id":"","url":"https://api.github.com/users/SodaqMoja","html_url":"https://github.com/SodaqMoja","followers_url":"https://api.github.com/users/SodaqMoja/followers","following_url":"https://api.github.com/users/SodaqMoja/following{/other_user}","gists_url":"https://api.github.com/users/SodaqMoja/gists{/gist_id}","starred_url":"https://api.github.com/users/SodaqMoja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SodaqMoja/subscriptions","organizations_url":"https://api.github.com/users/SodaqMoja/orgs","repos_url":"https://api.github.com/users/SodaqMoja/repos","events_url":"https://api.github.com/users/SodaqMoja/events{/privacy}","received_events_url":"https://api.github.com/users/SodaqMoja/received_events","type":"User","site_admin":false},"repo":{"id":56390356,"name":"Arduino","full_name":"SodaqMoja/Arduino","owner":{"login":"SodaqMoja","id":5663657,"avatar_url":"https://avatars.githubusercontent.com/u/5663657?v=3","gravatar_id":"","url":"https://api.github.com/users/SodaqMoja","html_url":"https://github.com/SodaqMoja","followers_url":"https://api.github.com/users/SodaqMoja/followers","following_url":"https://api.github.com/users/SodaqMoja/following{/other_user}","gists_url":"https://api.github.com/users/SodaqMoja/gists{/gist_id}","starred_url":"https://api.github.com/users/SodaqMoja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SodaqMoja/subscriptions","organizations_url":"https://api.github.com/users/SodaqMoja/orgs","repos_url":"https://api.github.com/users/SodaqMoja/repos","events_url":"https://api.github.com/users/SodaqMoja/events{/privacy}","received_events_url":"https://api.github.com/users/SodaqMoja/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SodaqMoja/Arduino","description":"open-source electronics prototyping platform","fork":true,"url":"https://api.github.com/repos/SodaqMoja/Arduino","forks_url":"https://api.github.com/repos/SodaqMoja/Arduino/forks","keys_url":"https://api.github.com/repos/SodaqMoja/Arduino/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SodaqMoja/Arduino/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SodaqMoja/Arduino/teams","hooks_url":"https://api.github.com/repos/SodaqMoja/Arduino/hooks","issue_events_url":"https://api.github.com/repos/SodaqMoja/Arduino/issues/events{/number}","events_url":"https://api.github.com/repos/SodaqMoja/Arduino/events","assignees_url":"https://api.github.com/repos/SodaqMoja/Arduino/assignees{/user}","branches_url":"https://api.github.com/repos/SodaqMoja/Arduino/branches{/branch}","tags_url":"https://api.github.com/repos/SodaqMoja/Arduino/tags","blobs_url":"https://api.github.com/repos/SodaqMoja/Arduino/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SodaqMoja/Arduino/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SodaqMoja/Arduino/git/refs{/sha}","trees_url":"https://api.github.com/repos/SodaqMoja/Arduino/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SodaqMoja/Arduino/statuses/{sha}","languages_url":"https://api.github.com/repos/SodaqMoja/Arduino/languages","stargazers_url":"https://api.github.com/repos/SodaqMoja/Arduino/stargazers","contributors_url":"https://api.github.com/repos/SodaqMoja/Arduino/contributors","subscribers_url":"https://api.github.com/repos/SodaqMoja/Arduino/subscribers","subscription_url":"https://api.github.com/repos/SodaqMoja/Arduino/subscription","commits_url":"https://api.github.com/repos/SodaqMoja/Arduino/commits{/sha}","git_commits_url":"https://api.github.com/repos/SodaqMoja/Arduino/git/commits{/sha}","comments_url":"https://api.github.com/repos/SodaqMoja/Arduino/comments{/number}","issue_comment_url":"https://api.github.com/repos/SodaqMoja/Arduino/issues/comments{/number}","contents_url":"https://api.github.com/repos/SodaqMoja/Arduino/contents/{+path}","compare_url":"https://api.github.com/repos/SodaqMoja/Arduino/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SodaqMoja/Arduino/merges","archive_url":"https://api.github.com/repos/SodaqMoja/Arduino/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SodaqMoja/Arduino/downloads","issues_url":"https://api.github.com/repos/SodaqMoja/Arduino/issues{/number}","pulls_url":"https://api.github.com/repos/SodaqMoja/Arduino/pulls{/number}","milestones_url":"https://api.github.com/repos/SodaqMoja/Arduino/milestones{/number}","notifications_url":"https://api.github.com/repos/SodaqMoja/Arduino/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SodaqMoja/Arduino/labels{/name}","releases_url":"https://api.github.com/repos/SodaqMoja/Arduino/releases{/id}","deployments_url":"https://api.github.com/repos/SodaqMoja/Arduino/deployments","created_at":"2016-04-16T15:17:15Z","updated_at":"2016-04-16T15:17:43Z","pushed_at":"2016-04-16T15:23:32Z","git_url":"git://github.com/SodaqMoja/Arduino.git","ssh_url":"git@github.com:SodaqMoja/Arduino.git","clone_url":"https://github.com/SodaqMoja/Arduino.git","svn_url":"https://github.com/SodaqMoja/Arduino","homepage":"http://www.arduino.cc/","size":1267316,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"arduino:master","ref":"master","sha":"2ddbf013346956570e6fc2f25622848bdbbd4114","user":{"login":"arduino","id":379109,"avatar_url":"https://avatars.githubusercontent.com/u/379109?v=3","gravatar_id":"","url":"https://api.github.com/users/arduino","html_url":"https://github.com/arduino","followers_url":"https://api.github.com/users/arduino/followers","following_url":"https://api.github.com/users/arduino/following{/other_user}","gists_url":"https://api.github.com/users/arduino/gists{/gist_id}","starred_url":"https://api.github.com/users/arduino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arduino/subscriptions","organizations_url":"https://api.github.com/users/arduino/orgs","repos_url":"https://api.github.com/users/arduino/repos","events_url":"https://api.github.com/users/arduino/events{/privacy}","received_events_url":"https://api.github.com/users/arduino/received_events","type":"Organization","site_admin":false},"repo":{"id":919161,"name":"Arduino","full_name":"arduino/Arduino","owner":{"login":"arduino","id":379109,"avatar_url":"https://avatars.githubusercontent.com/u/379109?v=3","gravatar_id":"","url":"https://api.github.com/users/arduino","html_url":"https://github.com/arduino","followers_url":"https://api.github.com/users/arduino/followers","following_url":"https://api.github.com/users/arduino/following{/other_user}","gists_url":"https://api.github.com/users/arduino/gists{/gist_id}","starred_url":"https://api.github.com/users/arduino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arduino/subscriptions","organizations_url":"https://api.github.com/users/arduino/orgs","repos_url":"https://api.github.com/users/arduino/repos","events_url":"https://api.github.com/users/arduino/events{/privacy}","received_events_url":"https://api.github.com/users/arduino/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/arduino/Arduino","description":"open-source electronics prototyping platform","fork":false,"url":"https://api.github.com/repos/arduino/Arduino","forks_url":"https://api.github.com/repos/arduino/Arduino/forks","keys_url":"https://api.github.com/repos/arduino/Arduino/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arduino/Arduino/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arduino/Arduino/teams","hooks_url":"https://api.github.com/repos/arduino/Arduino/hooks","issue_events_url":"https://api.github.com/repos/arduino/Arduino/issues/events{/number}","events_url":"https://api.github.com/repos/arduino/Arduino/events","assignees_url":"https://api.github.com/repos/arduino/Arduino/assignees{/user}","branches_url":"https://api.github.com/repos/arduino/Arduino/branches{/branch}","tags_url":"https://api.github.com/repos/arduino/Arduino/tags","blobs_url":"https://api.github.com/repos/arduino/Arduino/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arduino/Arduino/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arduino/Arduino/git/refs{/sha}","trees_url":"https://api.github.com/repos/arduino/Arduino/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arduino/Arduino/statuses/{sha}","languages_url":"https://api.github.com/repos/arduino/Arduino/languages","stargazers_url":"https://api.github.com/repos/arduino/Arduino/stargazers","contributors_url":"https://api.github.com/repos/arduino/Arduino/contributors","subscribers_url":"https://api.github.com/repos/arduino/Arduino/subscribers","subscription_url":"https://api.github.com/repos/arduino/Arduino/subscription","commits_url":"https://api.github.com/repos/arduino/Arduino/commits{/sha}","git_commits_url":"https://api.github.com/repos/arduino/Arduino/git/commits{/sha}","comments_url":"https://api.github.com/repos/arduino/Arduino/comments{/number}","issue_comment_url":"https://api.github.com/repos/arduino/Arduino/issues/comments{/number}","contents_url":"https://api.github.com/repos/arduino/Arduino/contents/{+path}","compare_url":"https://api.github.com/repos/arduino/Arduino/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arduino/Arduino/merges","archive_url":"https://api.github.com/repos/arduino/Arduino/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arduino/Arduino/downloads","issues_url":"https://api.github.com/repos/arduino/Arduino/issues{/number}","pulls_url":"https://api.github.com/repos/arduino/Arduino/pulls{/number}","milestones_url":"https://api.github.com/repos/arduino/Arduino/milestones{/number}","notifications_url":"https://api.github.com/repos/arduino/Arduino/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arduino/Arduino/labels{/name}","releases_url":"https://api.github.com/repos/arduino/Arduino/releases{/id}","deployments_url":"https://api.github.com/repos/arduino/Arduino/deployments","created_at":"2010-09-17T19:10:36Z","updated_at":"2016-04-16T10:24:11Z","pushed_at":"2016-04-15T20:24:20Z","git_url":"git://github.com/arduino/Arduino.git","ssh_url":"git@github.com:arduino/Arduino.git","clone_url":"https://github.com/arduino/Arduino.git","svn_url":"https://github.com/arduino/Arduino","homepage":"http://www.arduino.cc/","size":2778485,"stargazers_count":5395,"watchers_count":5395,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4336,"mirror_url":null,"open_issues_count":795,"forks":4336,"open_issues":795,"watchers":5395,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arduino/Arduino/pulls/4877"},"html":{"href":"https://github.com/arduino/Arduino/pull/4877"},"issue":{"href":"https://api.github.com/repos/arduino/Arduino/issues/4877"},"comments":{"href":"https://api.github.com/repos/arduino/Arduino/issues/4877/comments"},"review_comments":{"href":"https://api.github.com/repos/arduino/Arduino/pulls/4877/comments"},"review_comment":{"href":"https://api.github.com/repos/arduino/Arduino/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arduino/Arduino/pulls/4877/commits"},"statuses":{"href":"https://api.github.com/repos/arduino/Arduino/statuses/96d6cb72863a49baf55beb0fcc7f4ff4f828e9b0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}