{"action":"created","comment":{"url":"https://api.github.com/repos/balabit/syslog-ng/pulls/comments/44803693","id":44803693,"diff_hunk":"@@ -174,6 +176,42 @@ _wait_until_map_release(PersistState* self)\n }\n \n static gboolean\n+pwrite_strict(gint fd, const void *buf, size_t count, off_t offset)\n+{\n+  ssize_t written = pwrite(fd, buf, count, offset);\n+  gboolean result = TRUE;","path":"lib/persist-state.c","position":23,"original_position":23,"commit_id":"8318ee9899a33e8e195ac6135e2e56d331926183","original_commit_id":"8318ee9899a33e8e195ac6135e2e56d331926183","user":{"login":"juhaszviktor","id":2157202,"avatar_url":"https://avatars.githubusercontent.com/u/2157202?v=3","gravatar_id":"","url":"https://api.github.com/users/juhaszviktor","html_url":"https://github.com/juhaszviktor","followers_url":"https://api.github.com/users/juhaszviktor/followers","following_url":"https://api.github.com/users/juhaszviktor/following{/other_user}","gists_url":"https://api.github.com/users/juhaszviktor/gists{/gist_id}","starred_url":"https://api.github.com/users/juhaszviktor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juhaszviktor/subscriptions","organizations_url":"https://api.github.com/users/juhaszviktor/orgs","repos_url":"https://api.github.com/users/juhaszviktor/repos","events_url":"https://api.github.com/users/juhaszviktor/events{/privacy}","received_events_url":"https://api.github.com/users/juhaszviktor/received_events","type":"User","site_admin":false},"body":"Sounds good :+1: \r\nI'll do","created_at":"2015-11-13T16:41:47Z","updated_at":"2015-11-13T16:41:47Z","html_url":"https://github.com/balabit/syslog-ng/pull/717#discussion_r44803693","pull_request_url":"https://api.github.com/repos/balabit/syslog-ng/pulls/717","_links":{"self":{"href":"https://api.github.com/repos/balabit/syslog-ng/pulls/comments/44803693"},"html":{"href":"https://github.com/balabit/syslog-ng/pull/717#discussion_r44803693"},"pull_request":{"href":"https://api.github.com/repos/balabit/syslog-ng/pulls/717"}}},"pull_request":{"url":"https://api.github.com/repos/balabit/syslog-ng/pulls/717","id":46007231,"html_url":"https://github.com/balabit/syslog-ng/pull/717","diff_url":"https://github.com/balabit/syslog-ng/pull/717.diff","patch_url":"https://github.com/balabit/syslog-ng/pull/717.patch","issue_url":"https://api.github.com/repos/balabit/syslog-ng/issues/717","number":717,"state":"open","locked":false,"title":"F/persist state fixes","user":{"login":"juhaszviktor","id":2157202,"avatar_url":"https://avatars.githubusercontent.com/u/2157202?v=3","gravatar_id":"","url":"https://api.github.com/users/juhaszviktor","html_url":"https://github.com/juhaszviktor","followers_url":"https://api.github.com/users/juhaszviktor/followers","following_url":"https://api.github.com/users/juhaszviktor/following{/other_user}","gists_url":"https://api.github.com/users/juhaszviktor/gists{/gist_id}","starred_url":"https://api.github.com/users/juhaszviktor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juhaszviktor/subscriptions","organizations_url":"https://api.github.com/users/juhaszviktor/orgs","repos_url":"https://api.github.com/users/juhaszviktor/repos","events_url":"https://api.github.com/users/juhaszviktor/events{/privacy}","received_events_url":"https://api.github.com/users/juhaszviktor/received_events","type":"User","site_admin":false},"body":"fixes #716 ","created_at":"2015-09-25T12:39:47Z","updated_at":"2015-11-13T16:41:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"75bede8e678b68ec9a214264d686bdadf6e0d87f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/balabit/syslog-ng/pulls/717/commits","review_comments_url":"https://api.github.com/repos/balabit/syslog-ng/pulls/717/comments","review_comment_url":"https://api.github.com/repos/balabit/syslog-ng/pulls/comments{/number}","comments_url":"https://api.github.com/repos/balabit/syslog-ng/issues/717/comments","statuses_url":"https://api.github.com/repos/balabit/syslog-ng/statuses/8318ee9899a33e8e195ac6135e2e56d331926183","head":{"label":"juhaszviktor:f/persist_state_fixes","ref":"f/persist_state_fixes","sha":"8318ee9899a33e8e195ac6135e2e56d331926183","user":{"login":"juhaszviktor","id":2157202,"avatar_url":"https://avatars.githubusercontent.com/u/2157202?v=3","gravatar_id":"","url":"https://api.github.com/users/juhaszviktor","html_url":"https://github.com/juhaszviktor","followers_url":"https://api.github.com/users/juhaszviktor/followers","following_url":"https://api.github.com/users/juhaszviktor/following{/other_user}","gists_url":"https://api.github.com/users/juhaszviktor/gists{/gist_id}","starred_url":"https://api.github.com/users/juhaszviktor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juhaszviktor/subscriptions","organizations_url":"https://api.github.com/users/juhaszviktor/orgs","repos_url":"https://api.github.com/users/juhaszviktor/repos","events_url":"https://api.github.com/users/juhaszviktor/events{/privacy}","received_events_url":"https://api.github.com/users/juhaszviktor/received_events","type":"User","site_admin":false},"repo":{"id":21194683,"name":"syslog-ng","full_name":"juhaszviktor/syslog-ng","owner":{"login":"juhaszviktor","id":2157202,"avatar_url":"https://avatars.githubusercontent.com/u/2157202?v=3","gravatar_id":"","url":"https://api.github.com/users/juhaszviktor","html_url":"https://github.com/juhaszviktor","followers_url":"https://api.github.com/users/juhaszviktor/followers","following_url":"https://api.github.com/users/juhaszviktor/following{/other_user}","gists_url":"https://api.github.com/users/juhaszviktor/gists{/gist_id}","starred_url":"https://api.github.com/users/juhaszviktor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juhaszviktor/subscriptions","organizations_url":"https://api.github.com/users/juhaszviktor/orgs","repos_url":"https://api.github.com/users/juhaszviktor/repos","events_url":"https://api.github.com/users/juhaszviktor/events{/privacy}","received_events_url":"https://api.github.com/users/juhaszviktor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/juhaszviktor/syslog-ng","description":"syslog-ng is an enhanced log daemon, supporting a wide range of input and output methods: syslog, unstructured text, queueing, SQL & NoSQL.","fork":true,"url":"https://api.github.com/repos/juhaszviktor/syslog-ng","forks_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/forks","keys_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/teams","hooks_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/hooks","issue_events_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/issues/events{/number}","events_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/events","assignees_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/assignees{/user}","branches_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/branches{/branch}","tags_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/tags","blobs_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/git/refs{/sha}","trees_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/statuses/{sha}","languages_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/languages","stargazers_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/stargazers","contributors_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/contributors","subscribers_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/subscribers","subscription_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/subscription","commits_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/commits{/sha}","git_commits_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/git/commits{/sha}","comments_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/comments{/number}","issue_comment_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/issues/comments{/number}","contents_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/contents/{+path}","compare_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/merges","archive_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/downloads","issues_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/issues{/number}","pulls_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/pulls{/number}","milestones_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/milestones{/number}","notifications_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/labels{/name}","releases_url":"https://api.github.com/repos/juhaszviktor/syslog-ng/releases{/id}","created_at":"2014-06-25T07:45:39Z","updated_at":"2014-07-02T06:41:17Z","pushed_at":"2015-11-12T12:56:46Z","git_url":"git://github.com/juhaszviktor/syslog-ng.git","ssh_url":"git@github.com:juhaszviktor/syslog-ng.git","clone_url":"https://github.com/juhaszviktor/syslog-ng.git","svn_url":"https://github.com/juhaszviktor/syslog-ng","homepage":"http://www.syslog-ng.org/","size":16724,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"balabit:master","ref":"master","sha":"92c747534f6e51af89f9ba6ad657e09bc81b3f71","user":{"login":"balabit","id":986981,"avatar_url":"https://avatars.githubusercontent.com/u/986981?v=3","gravatar_id":"","url":"https://api.github.com/users/balabit","html_url":"https://github.com/balabit","followers_url":"https://api.github.com/users/balabit/followers","following_url":"https://api.github.com/users/balabit/following{/other_user}","gists_url":"https://api.github.com/users/balabit/gists{/gist_id}","starred_url":"https://api.github.com/users/balabit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balabit/subscriptions","organizations_url":"https://api.github.com/users/balabit/orgs","repos_url":"https://api.github.com/users/balabit/repos","events_url":"https://api.github.com/users/balabit/events{/privacy}","received_events_url":"https://api.github.com/users/balabit/received_events","type":"Organization","site_admin":false},"repo":{"id":14146757,"name":"syslog-ng","full_name":"balabit/syslog-ng","owner":{"login":"balabit","id":986981,"avatar_url":"https://avatars.githubusercontent.com/u/986981?v=3","gravatar_id":"","url":"https://api.github.com/users/balabit","html_url":"https://github.com/balabit","followers_url":"https://api.github.com/users/balabit/followers","following_url":"https://api.github.com/users/balabit/following{/other_user}","gists_url":"https://api.github.com/users/balabit/gists{/gist_id}","starred_url":"https://api.github.com/users/balabit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balabit/subscriptions","organizations_url":"https://api.github.com/users/balabit/orgs","repos_url":"https://api.github.com/users/balabit/repos","events_url":"https://api.github.com/users/balabit/events{/privacy}","received_events_url":"https://api.github.com/users/balabit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/balabit/syslog-ng","description":"syslog-ng is an enhanced log daemon, supporting a wide range of input and output methods: syslog, unstructured text, queueing, SQL & NoSQL.","fork":false,"url":"https://api.github.com/repos/balabit/syslog-ng","forks_url":"https://api.github.com/repos/balabit/syslog-ng/forks","keys_url":"https://api.github.com/repos/balabit/syslog-ng/keys{/key_id}","collaborators_url":"https://api.github.com/repos/balabit/syslog-ng/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/balabit/syslog-ng/teams","hooks_url":"https://api.github.com/repos/balabit/syslog-ng/hooks","issue_events_url":"https://api.github.com/repos/balabit/syslog-ng/issues/events{/number}","events_url":"https://api.github.com/repos/balabit/syslog-ng/events","assignees_url":"https://api.github.com/repos/balabit/syslog-ng/assignees{/user}","branches_url":"https://api.github.com/repos/balabit/syslog-ng/branches{/branch}","tags_url":"https://api.github.com/repos/balabit/syslog-ng/tags","blobs_url":"https://api.github.com/repos/balabit/syslog-ng/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/balabit/syslog-ng/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/balabit/syslog-ng/git/refs{/sha}","trees_url":"https://api.github.com/repos/balabit/syslog-ng/git/trees{/sha}","statuses_url":"https://api.github.com/repos/balabit/syslog-ng/statuses/{sha}","languages_url":"https://api.github.com/repos/balabit/syslog-ng/languages","stargazers_url":"https://api.github.com/repos/balabit/syslog-ng/stargazers","contributors_url":"https://api.github.com/repos/balabit/syslog-ng/contributors","subscribers_url":"https://api.github.com/repos/balabit/syslog-ng/subscribers","subscription_url":"https://api.github.com/repos/balabit/syslog-ng/subscription","commits_url":"https://api.github.com/repos/balabit/syslog-ng/commits{/sha}","git_commits_url":"https://api.github.com/repos/balabit/syslog-ng/git/commits{/sha}","comments_url":"https://api.github.com/repos/balabit/syslog-ng/comments{/number}","issue_comment_url":"https://api.github.com/repos/balabit/syslog-ng/issues/comments{/number}","contents_url":"https://api.github.com/repos/balabit/syslog-ng/contents/{+path}","compare_url":"https://api.github.com/repos/balabit/syslog-ng/compare/{base}...{head}","merges_url":"https://api.github.com/repos/balabit/syslog-ng/merges","archive_url":"https://api.github.com/repos/balabit/syslog-ng/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/balabit/syslog-ng/downloads","issues_url":"https://api.github.com/repos/balabit/syslog-ng/issues{/number}","pulls_url":"https://api.github.com/repos/balabit/syslog-ng/pulls{/number}","milestones_url":"https://api.github.com/repos/balabit/syslog-ng/milestones{/number}","notifications_url":"https://api.github.com/repos/balabit/syslog-ng/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/balabit/syslog-ng/labels{/name}","releases_url":"https://api.github.com/repos/balabit/syslog-ng/releases{/id}","created_at":"2013-11-05T16:22:02Z","updated_at":"2015-11-13T15:09:12Z","pushed_at":"2015-11-13T15:27:23Z","git_url":"git://github.com/balabit/syslog-ng.git","ssh_url":"git@github.com:balabit/syslog-ng.git","clone_url":"https://github.com/balabit/syslog-ng.git","svn_url":"https://github.com/balabit/syslog-ng","homepage":"http://www.syslog-ng.org/","size":24402,"stargazers_count":184,"watchers_count":184,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":70,"mirror_url":null,"open_issues_count":131,"forks":70,"open_issues":131,"watchers":184,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/balabit/syslog-ng/pulls/717"},"html":{"href":"https://github.com/balabit/syslog-ng/pull/717"},"issue":{"href":"https://api.github.com/repos/balabit/syslog-ng/issues/717"},"comments":{"href":"https://api.github.com/repos/balabit/syslog-ng/issues/717/comments"},"review_comments":{"href":"https://api.github.com/repos/balabit/syslog-ng/pulls/717/comments"},"review_comment":{"href":"https://api.github.com/repos/balabit/syslog-ng/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/balabit/syslog-ng/pulls/717/commits"},"statuses":{"href":"https://api.github.com/repos/balabit/syslog-ng/statuses/8318ee9899a33e8e195ac6135e2e56d331926183"}}}}