{"action":"created","comment":{"url":"https://api.github.com/repos/mer-packages/sensorfw/pulls/comments/41480169","id":41480169,"diff_hunk":"@@ -84,7 +84,6 @@ void HybrisProximityAdaptor::sendInitialData()\n \n        struct input_absinfo absinfo;\n        int fd;\n-       inputDev.replace(\"input\",\"event\");\n        inputDev.prepend(\"/dev/input/\");\n \n        if ((fd = open(inputDev.toLatin1(), O_RDONLY)) > 0) {","path":"adaptors/hybrisproximityadaptor/hybrisproximityadaptor.cpp","position":27,"original_position":27,"commit_id":"267d2746bb65e1b8b1e08609cb834bc391389612","original_commit_id":"267d2746bb65e1b8b1e08609cb834bc391389612","user":{"login":"spiiroin","id":2470051,"avatar_url":"https://avatars.githubusercontent.com/u/2470051?v=3","gravatar_id":"","url":"https://api.github.com/users/spiiroin","html_url":"https://github.com/spiiroin","followers_url":"https://api.github.com/users/spiiroin/followers","following_url":"https://api.github.com/users/spiiroin/following{/other_user}","gists_url":"https://api.github.com/users/spiiroin/gists{/gist_id}","starred_url":"https://api.github.com/users/spiiroin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spiiroin/subscriptions","organizations_url":"https://api.github.com/users/spiiroin/orgs","repos_url":"https://api.github.com/users/spiiroin/repos","events_url":"https://api.github.com/users/spiiroin/events{/privacy}","received_events_url":"https://api.github.com/users/spiiroin/received_events","type":"User","site_admin":false},"body":"This looks bad: While open() returning 0 is really unlikely,  it would still be a success.","created_at":"2015-10-08T06:37:13Z","updated_at":"2015-10-08T06:37:13Z","html_url":"https://github.com/mer-packages/sensorfw/pull/87#discussion_r41480169","pull_request_url":"https://api.github.com/repos/mer-packages/sensorfw/pulls/87","_links":{"self":{"href":"https://api.github.com/repos/mer-packages/sensorfw/pulls/comments/41480169"},"html":{"href":"https://github.com/mer-packages/sensorfw/pull/87#discussion_r41480169"},"pull_request":{"href":"https://api.github.com/repos/mer-packages/sensorfw/pulls/87"}}},"pull_request":{"url":"https://api.github.com/repos/mer-packages/sensorfw/pulls/87","id":47104604,"html_url":"https://github.com/mer-packages/sensorfw/pull/87","diff_url":"https://github.com/mer-packages/sensorfw/pull/87.diff","patch_url":"https://github.com/mer-packages/sensorfw/pull/87.patch","issue_url":"https://api.github.com/repos/mer-packages/sensorfw/issues/87","number":87,"state":"open","locked":false,"title":"[sensorfw] Contributes to JB#32538 Fix proxy evdev parsing","user":{"login":"lpotter","id":69512,"avatar_url":"https://avatars.githubusercontent.com/u/69512?v=3","gravatar_id":"","url":"https://api.github.com/users/lpotter","html_url":"https://github.com/lpotter","followers_url":"https://api.github.com/users/lpotter/followers","following_url":"https://api.github.com/users/lpotter/following{/other_user}","gists_url":"https://api.github.com/users/lpotter/gists{/gist_id}","starred_url":"https://api.github.com/users/lpotter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpotter/subscriptions","organizations_url":"https://api.github.com/users/lpotter/orgs","repos_url":"https://api.github.com/users/lpotter/repos","events_url":"https://api.github.com/users/lpotter/events{/privacy}","received_events_url":"https://api.github.com/users/lpotter/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-08T02:10:39Z","updated_at":"2015-10-08T06:37:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4c584139116be61d0f86427fe5235da3bb3af3fb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mer-packages/sensorfw/pulls/87/commits","review_comments_url":"https://api.github.com/repos/mer-packages/sensorfw/pulls/87/comments","review_comment_url":"https://api.github.com/repos/mer-packages/sensorfw/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mer-packages/sensorfw/issues/87/comments","statuses_url":"https://api.github.com/repos/mer-packages/sensorfw/statuses/267d2746bb65e1b8b1e08609cb834bc391389612","head":{"label":"lpotter:32538b","ref":"32538b","sha":"267d2746bb65e1b8b1e08609cb834bc391389612","user":{"login":"lpotter","id":69512,"avatar_url":"https://avatars.githubusercontent.com/u/69512?v=3","gravatar_id":"","url":"https://api.github.com/users/lpotter","html_url":"https://github.com/lpotter","followers_url":"https://api.github.com/users/lpotter/followers","following_url":"https://api.github.com/users/lpotter/following{/other_user}","gists_url":"https://api.github.com/users/lpotter/gists{/gist_id}","starred_url":"https://api.github.com/users/lpotter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpotter/subscriptions","organizations_url":"https://api.github.com/users/lpotter/orgs","repos_url":"https://api.github.com/users/lpotter/repos","events_url":"https://api.github.com/users/lpotter/events{/privacy}","received_events_url":"https://api.github.com/users/lpotter/received_events","type":"User","site_admin":false},"repo":{"id":13340092,"name":"sensorfw","full_name":"lpotter/sensorfw","owner":{"login":"lpotter","id":69512,"avatar_url":"https://avatars.githubusercontent.com/u/69512?v=3","gravatar_id":"","url":"https://api.github.com/users/lpotter","html_url":"https://github.com/lpotter","followers_url":"https://api.github.com/users/lpotter/followers","following_url":"https://api.github.com/users/lpotter/following{/other_user}","gists_url":"https://api.github.com/users/lpotter/gists{/gist_id}","starred_url":"https://api.github.com/users/lpotter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpotter/subscriptions","organizations_url":"https://api.github.com/users/lpotter/orgs","repos_url":"https://api.github.com/users/lpotter/repos","events_url":"https://api.github.com/users/lpotter/events{/privacy}","received_events_url":"https://api.github.com/users/lpotter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lpotter/sensorfw","description":"","fork":true,"url":"https://api.github.com/repos/lpotter/sensorfw","forks_url":"https://api.github.com/repos/lpotter/sensorfw/forks","keys_url":"https://api.github.com/repos/lpotter/sensorfw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lpotter/sensorfw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lpotter/sensorfw/teams","hooks_url":"https://api.github.com/repos/lpotter/sensorfw/hooks","issue_events_url":"https://api.github.com/repos/lpotter/sensorfw/issues/events{/number}","events_url":"https://api.github.com/repos/lpotter/sensorfw/events","assignees_url":"https://api.github.com/repos/lpotter/sensorfw/assignees{/user}","branches_url":"https://api.github.com/repos/lpotter/sensorfw/branches{/branch}","tags_url":"https://api.github.com/repos/lpotter/sensorfw/tags","blobs_url":"https://api.github.com/repos/lpotter/sensorfw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lpotter/sensorfw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lpotter/sensorfw/git/refs{/sha}","trees_url":"https://api.github.com/repos/lpotter/sensorfw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lpotter/sensorfw/statuses/{sha}","languages_url":"https://api.github.com/repos/lpotter/sensorfw/languages","stargazers_url":"https://api.github.com/repos/lpotter/sensorfw/stargazers","contributors_url":"https://api.github.com/repos/lpotter/sensorfw/contributors","subscribers_url":"https://api.github.com/repos/lpotter/sensorfw/subscribers","subscription_url":"https://api.github.com/repos/lpotter/sensorfw/subscription","commits_url":"https://api.github.com/repos/lpotter/sensorfw/commits{/sha}","git_commits_url":"https://api.github.com/repos/lpotter/sensorfw/git/commits{/sha}","comments_url":"https://api.github.com/repos/lpotter/sensorfw/comments{/number}","issue_comment_url":"https://api.github.com/repos/lpotter/sensorfw/issues/comments{/number}","contents_url":"https://api.github.com/repos/lpotter/sensorfw/contents/{+path}","compare_url":"https://api.github.com/repos/lpotter/sensorfw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lpotter/sensorfw/merges","archive_url":"https://api.github.com/repos/lpotter/sensorfw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lpotter/sensorfw/downloads","issues_url":"https://api.github.com/repos/lpotter/sensorfw/issues{/number}","pulls_url":"https://api.github.com/repos/lpotter/sensorfw/pulls{/number}","milestones_url":"https://api.github.com/repos/lpotter/sensorfw/milestones{/number}","notifications_url":"https://api.github.com/repos/lpotter/sensorfw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lpotter/sensorfw/labels{/name}","releases_url":"https://api.github.com/repos/lpotter/sensorfw/releases{/id}","created_at":"2013-10-05T04:31:09Z","updated_at":"2015-05-08T09:11:29Z","pushed_at":"2015-10-08T02:10:18Z","git_url":"git://github.com/lpotter/sensorfw.git","ssh_url":"git@github.com:lpotter/sensorfw.git","clone_url":"https://github.com/lpotter/sensorfw.git","svn_url":"https://github.com/lpotter/sensorfw","homepage":null,"size":3952,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mer-packages:master","ref":"master","sha":"471d29c0643b15c0b05793987534165080d60346","user":{"login":"mer-packages","id":3016659,"avatar_url":"https://avatars.githubusercontent.com/u/3016659?v=3","gravatar_id":"","url":"https://api.github.com/users/mer-packages","html_url":"https://github.com/mer-packages","followers_url":"https://api.github.com/users/mer-packages/followers","following_url":"https://api.github.com/users/mer-packages/following{/other_user}","gists_url":"https://api.github.com/users/mer-packages/gists{/gist_id}","starred_url":"https://api.github.com/users/mer-packages/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mer-packages/subscriptions","organizations_url":"https://api.github.com/users/mer-packages/orgs","repos_url":"https://api.github.com/users/mer-packages/repos","events_url":"https://api.github.com/users/mer-packages/events{/privacy}","received_events_url":"https://api.github.com/users/mer-packages/received_events","type":"Organization","site_admin":false},"repo":{"id":8137134,"name":"sensorfw","full_name":"mer-packages/sensorfw","owner":{"login":"mer-packages","id":3016659,"avatar_url":"https://avatars.githubusercontent.com/u/3016659?v=3","gravatar_id":"","url":"https://api.github.com/users/mer-packages","html_url":"https://github.com/mer-packages","followers_url":"https://api.github.com/users/mer-packages/followers","following_url":"https://api.github.com/users/mer-packages/following{/other_user}","gists_url":"https://api.github.com/users/mer-packages/gists{/gist_id}","starred_url":"https://api.github.com/users/mer-packages/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mer-packages/subscriptions","organizations_url":"https://api.github.com/users/mer-packages/orgs","repos_url":"https://api.github.com/users/mer-packages/repos","events_url":"https://api.github.com/users/mer-packages/events{/privacy}","received_events_url":"https://api.github.com/users/mer-packages/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mer-packages/sensorfw","description":"","fork":false,"url":"https://api.github.com/repos/mer-packages/sensorfw","forks_url":"https://api.github.com/repos/mer-packages/sensorfw/forks","keys_url":"https://api.github.com/repos/mer-packages/sensorfw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mer-packages/sensorfw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mer-packages/sensorfw/teams","hooks_url":"https://api.github.com/repos/mer-packages/sensorfw/hooks","issue_events_url":"https://api.github.com/repos/mer-packages/sensorfw/issues/events{/number}","events_url":"https://api.github.com/repos/mer-packages/sensorfw/events","assignees_url":"https://api.github.com/repos/mer-packages/sensorfw/assignees{/user}","branches_url":"https://api.github.com/repos/mer-packages/sensorfw/branches{/branch}","tags_url":"https://api.github.com/repos/mer-packages/sensorfw/tags","blobs_url":"https://api.github.com/repos/mer-packages/sensorfw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mer-packages/sensorfw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mer-packages/sensorfw/git/refs{/sha}","trees_url":"https://api.github.com/repos/mer-packages/sensorfw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mer-packages/sensorfw/statuses/{sha}","languages_url":"https://api.github.com/repos/mer-packages/sensorfw/languages","stargazers_url":"https://api.github.com/repos/mer-packages/sensorfw/stargazers","contributors_url":"https://api.github.com/repos/mer-packages/sensorfw/contributors","subscribers_url":"https://api.github.com/repos/mer-packages/sensorfw/subscribers","subscription_url":"https://api.github.com/repos/mer-packages/sensorfw/subscription","commits_url":"https://api.github.com/repos/mer-packages/sensorfw/commits{/sha}","git_commits_url":"https://api.github.com/repos/mer-packages/sensorfw/git/commits{/sha}","comments_url":"https://api.github.com/repos/mer-packages/sensorfw/comments{/number}","issue_comment_url":"https://api.github.com/repos/mer-packages/sensorfw/issues/comments{/number}","contents_url":"https://api.github.com/repos/mer-packages/sensorfw/contents/{+path}","compare_url":"https://api.github.com/repos/mer-packages/sensorfw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mer-packages/sensorfw/merges","archive_url":"https://api.github.com/repos/mer-packages/sensorfw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mer-packages/sensorfw/downloads","issues_url":"https://api.github.com/repos/mer-packages/sensorfw/issues{/number}","pulls_url":"https://api.github.com/repos/mer-packages/sensorfw/pulls{/number}","milestones_url":"https://api.github.com/repos/mer-packages/sensorfw/milestones{/number}","notifications_url":"https://api.github.com/repos/mer-packages/sensorfw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mer-packages/sensorfw/labels{/name}","releases_url":"https://api.github.com/repos/mer-packages/sensorfw/releases{/id}","created_at":"2013-02-11T11:43:56Z","updated_at":"2015-05-08T19:23:20Z","pushed_at":"2015-10-08T02:10:39Z","git_url":"git://github.com/mer-packages/sensorfw.git","ssh_url":"git@github.com:mer-packages/sensorfw.git","clone_url":"https://github.com/mer-packages/sensorfw.git","svn_url":"https://github.com/mer-packages/sensorfw","homepage":null,"size":4393,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":2,"forks":16,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mer-packages/sensorfw/pulls/87"},"html":{"href":"https://github.com/mer-packages/sensorfw/pull/87"},"issue":{"href":"https://api.github.com/repos/mer-packages/sensorfw/issues/87"},"comments":{"href":"https://api.github.com/repos/mer-packages/sensorfw/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/mer-packages/sensorfw/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/mer-packages/sensorfw/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mer-packages/sensorfw/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/mer-packages/sensorfw/statuses/267d2746bb65e1b8b1e08609cb834bc391389612"}}}}