{"action":"created","comment":{"url":"https://api.github.com/repos/openucx/ucx/pulls/comments/79788079","id":79788079,"diff_hunk":"@@ -379,8 +384,25 @@ static void barrier(int oob_sock)\n     recv(oob_sock, &dummy, sizeof(dummy), 0);\n }\n \n+static void generate_random_string(char** str, int size)\n+{\n+    int i;\n+    *str = (char*) calloc(size+1, sizeof(char));\n+    char *local_str = *str;\n+    printf(\"errno %d - [%s]\", errno, strerror(errno));","path":"test/examples/ucp_hello_world.c","position":null,"original_position":48,"commit_id":"355f4399f67fbcffa437dd6a2131f13f163be15b","original_commit_id":"38599c227542f6e44eceaa9596435e9ae844973a","user":{"login":"guy101","id":9695544,"avatar_url":"https://avatars.githubusercontent.com/u/9695544?v=3","gravatar_id":"","url":"https://api.github.com/users/guy101","html_url":"https://github.com/guy101","followers_url":"https://api.github.com/users/guy101/followers","following_url":"https://api.github.com/users/guy101/following{/other_user}","gists_url":"https://api.github.com/users/guy101/gists{/gist_id}","starred_url":"https://api.github.com/users/guy101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guy101/subscriptions","organizations_url":"https://api.github.com/users/guy101/orgs","repos_url":"https://api.github.com/users/guy101/repos","events_url":"https://api.github.com/users/guy101/events{/privacy}","received_events_url":"https://api.github.com/users/guy101/received_events","type":"User","site_admin":false},"body":"it makes the code more readable","created_at":"2016-09-21T08:58:03Z","updated_at":"2016-09-21T08:58:03Z","html_url":"https://github.com/openucx/ucx/pull/999#discussion_r79788079","pull_request_url":"https://api.github.com/repos/openucx/ucx/pulls/999","_links":{"self":{"href":"https://api.github.com/repos/openucx/ucx/pulls/comments/79788079"},"html":{"href":"https://github.com/openucx/ucx/pull/999#discussion_r79788079"},"pull_request":{"href":"https://api.github.com/repos/openucx/ucx/pulls/999"}}},"pull_request":{"url":"https://api.github.com/repos/openucx/ucx/pulls/999","id":86119339,"html_url":"https://github.com/openucx/ucx/pull/999","diff_url":"https://github.com/openucx/ucx/pull/999.diff","patch_url":"https://github.com/openucx/ucx/pull/999.patch","issue_url":"https://api.github.com/repos/openucx/ucx/issues/999","number":999,"state":"open","locked":false,"title":"Bug 989 Support_custom_buffer_size_in_ucp_hello_world.c_example","user":{"login":"guy101","id":9695544,"avatar_url":"https://avatars.githubusercontent.com/u/9695544?v=3","gravatar_id":"","url":"https://api.github.com/users/guy101","html_url":"https://github.com/guy101","followers_url":"https://api.github.com/users/guy101/followers","following_url":"https://api.github.com/users/guy101/following{/other_user}","gists_url":"https://api.github.com/users/guy101/gists{/gist_id}","starred_url":"https://api.github.com/users/guy101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guy101/subscriptions","organizations_url":"https://api.github.com/users/guy101/orgs","repos_url":"https://api.github.com/users/guy101/repos","events_url":"https://api.github.com/users/guy101/events{/privacy}","received_events_url":"https://api.github.com/users/guy101/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-21T08:38:23Z","updated_at":"2016-09-21T08:58:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e793bf51baf89ec07c2b4008d824b2224ab1cc05","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openucx/ucx/pulls/999/commits","review_comments_url":"https://api.github.com/repos/openucx/ucx/pulls/999/comments","review_comment_url":"https://api.github.com/repos/openucx/ucx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openucx/ucx/issues/999/comments","statuses_url":"https://api.github.com/repos/openucx/ucx/statuses/355f4399f67fbcffa437dd6a2131f13f163be15b","head":{"label":"guy101:Support_custom_buffer_size_in_ucp_hello_world.c_example/989","ref":"Support_custom_buffer_size_in_ucp_hello_world.c_example/989","sha":"355f4399f67fbcffa437dd6a2131f13f163be15b","user":{"login":"guy101","id":9695544,"avatar_url":"https://avatars.githubusercontent.com/u/9695544?v=3","gravatar_id":"","url":"https://api.github.com/users/guy101","html_url":"https://github.com/guy101","followers_url":"https://api.github.com/users/guy101/followers","following_url":"https://api.github.com/users/guy101/following{/other_user}","gists_url":"https://api.github.com/users/guy101/gists{/gist_id}","starred_url":"https://api.github.com/users/guy101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guy101/subscriptions","organizations_url":"https://api.github.com/users/guy101/orgs","repos_url":"https://api.github.com/users/guy101/repos","events_url":"https://api.github.com/users/guy101/events{/privacy}","received_events_url":"https://api.github.com/users/guy101/received_events","type":"User","site_admin":false},"repo":{"id":68795417,"name":"ucx","full_name":"guy101/ucx","owner":{"login":"guy101","id":9695544,"avatar_url":"https://avatars.githubusercontent.com/u/9695544?v=3","gravatar_id":"","url":"https://api.github.com/users/guy101","html_url":"https://github.com/guy101","followers_url":"https://api.github.com/users/guy101/followers","following_url":"https://api.github.com/users/guy101/following{/other_user}","gists_url":"https://api.github.com/users/guy101/gists{/gist_id}","starred_url":"https://api.github.com/users/guy101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guy101/subscriptions","organizations_url":"https://api.github.com/users/guy101/orgs","repos_url":"https://api.github.com/users/guy101/repos","events_url":"https://api.github.com/users/guy101/events{/privacy}","received_events_url":"https://api.github.com/users/guy101/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/guy101/ucx","description":"Unified Communication X  (mailing list - https://elist.ornl.gov/mailman/listinfo/ucx-group): ","fork":true,"url":"https://api.github.com/repos/guy101/ucx","forks_url":"https://api.github.com/repos/guy101/ucx/forks","keys_url":"https://api.github.com/repos/guy101/ucx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guy101/ucx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guy101/ucx/teams","hooks_url":"https://api.github.com/repos/guy101/ucx/hooks","issue_events_url":"https://api.github.com/repos/guy101/ucx/issues/events{/number}","events_url":"https://api.github.com/repos/guy101/ucx/events","assignees_url":"https://api.github.com/repos/guy101/ucx/assignees{/user}","branches_url":"https://api.github.com/repos/guy101/ucx/branches{/branch}","tags_url":"https://api.github.com/repos/guy101/ucx/tags","blobs_url":"https://api.github.com/repos/guy101/ucx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guy101/ucx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guy101/ucx/git/refs{/sha}","trees_url":"https://api.github.com/repos/guy101/ucx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guy101/ucx/statuses/{sha}","languages_url":"https://api.github.com/repos/guy101/ucx/languages","stargazers_url":"https://api.github.com/repos/guy101/ucx/stargazers","contributors_url":"https://api.github.com/repos/guy101/ucx/contributors","subscribers_url":"https://api.github.com/repos/guy101/ucx/subscribers","subscription_url":"https://api.github.com/repos/guy101/ucx/subscription","commits_url":"https://api.github.com/repos/guy101/ucx/commits{/sha}","git_commits_url":"https://api.github.com/repos/guy101/ucx/git/commits{/sha}","comments_url":"https://api.github.com/repos/guy101/ucx/comments{/number}","issue_comment_url":"https://api.github.com/repos/guy101/ucx/issues/comments{/number}","contents_url":"https://api.github.com/repos/guy101/ucx/contents/{+path}","compare_url":"https://api.github.com/repos/guy101/ucx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guy101/ucx/merges","archive_url":"https://api.github.com/repos/guy101/ucx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guy101/ucx/downloads","issues_url":"https://api.github.com/repos/guy101/ucx/issues{/number}","pulls_url":"https://api.github.com/repos/guy101/ucx/pulls{/number}","milestones_url":"https://api.github.com/repos/guy101/ucx/milestones{/number}","notifications_url":"https://api.github.com/repos/guy101/ucx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guy101/ucx/labels{/name}","releases_url":"https://api.github.com/repos/guy101/ucx/releases{/id}","deployments_url":"https://api.github.com/repos/guy101/ucx/deployments","created_at":"2016-09-21T08:16:53Z","updated_at":"2016-09-21T08:16:56Z","pushed_at":"2016-09-21T08:55:38Z","git_url":"git://github.com/guy101/ucx.git","ssh_url":"git@github.com:guy101/ucx.git","clone_url":"https://github.com/guy101/ucx.git","svn_url":"https://github.com/guy101/ucx","homepage":"http://www.openucx.org","size":7920,"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":"openucx:master","ref":"master","sha":"69545a167b0e98f96d40f455450499d7d9c3056f","user":{"login":"openucx","id":13118737,"avatar_url":"https://avatars.githubusercontent.com/u/13118737?v=3","gravatar_id":"","url":"https://api.github.com/users/openucx","html_url":"https://github.com/openucx","followers_url":"https://api.github.com/users/openucx/followers","following_url":"https://api.github.com/users/openucx/following{/other_user}","gists_url":"https://api.github.com/users/openucx/gists{/gist_id}","starred_url":"https://api.github.com/users/openucx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openucx/subscriptions","organizations_url":"https://api.github.com/users/openucx/orgs","repos_url":"https://api.github.com/users/openucx/repos","events_url":"https://api.github.com/users/openucx/events{/privacy}","received_events_url":"https://api.github.com/users/openucx/received_events","type":"Organization","site_admin":false},"repo":{"id":25379390,"name":"ucx","full_name":"openucx/ucx","owner":{"login":"openucx","id":13118737,"avatar_url":"https://avatars.githubusercontent.com/u/13118737?v=3","gravatar_id":"","url":"https://api.github.com/users/openucx","html_url":"https://github.com/openucx","followers_url":"https://api.github.com/users/openucx/followers","following_url":"https://api.github.com/users/openucx/following{/other_user}","gists_url":"https://api.github.com/users/openucx/gists{/gist_id}","starred_url":"https://api.github.com/users/openucx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openucx/subscriptions","organizations_url":"https://api.github.com/users/openucx/orgs","repos_url":"https://api.github.com/users/openucx/repos","events_url":"https://api.github.com/users/openucx/events{/privacy}","received_events_url":"https://api.github.com/users/openucx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openucx/ucx","description":"Unified Communication X  (mailing list - https://elist.ornl.gov/mailman/listinfo/ucx-group): ","fork":false,"url":"https://api.github.com/repos/openucx/ucx","forks_url":"https://api.github.com/repos/openucx/ucx/forks","keys_url":"https://api.github.com/repos/openucx/ucx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openucx/ucx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openucx/ucx/teams","hooks_url":"https://api.github.com/repos/openucx/ucx/hooks","issue_events_url":"https://api.github.com/repos/openucx/ucx/issues/events{/number}","events_url":"https://api.github.com/repos/openucx/ucx/events","assignees_url":"https://api.github.com/repos/openucx/ucx/assignees{/user}","branches_url":"https://api.github.com/repos/openucx/ucx/branches{/branch}","tags_url":"https://api.github.com/repos/openucx/ucx/tags","blobs_url":"https://api.github.com/repos/openucx/ucx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openucx/ucx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openucx/ucx/git/refs{/sha}","trees_url":"https://api.github.com/repos/openucx/ucx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openucx/ucx/statuses/{sha}","languages_url":"https://api.github.com/repos/openucx/ucx/languages","stargazers_url":"https://api.github.com/repos/openucx/ucx/stargazers","contributors_url":"https://api.github.com/repos/openucx/ucx/contributors","subscribers_url":"https://api.github.com/repos/openucx/ucx/subscribers","subscription_url":"https://api.github.com/repos/openucx/ucx/subscription","commits_url":"https://api.github.com/repos/openucx/ucx/commits{/sha}","git_commits_url":"https://api.github.com/repos/openucx/ucx/git/commits{/sha}","comments_url":"https://api.github.com/repos/openucx/ucx/comments{/number}","issue_comment_url":"https://api.github.com/repos/openucx/ucx/issues/comments{/number}","contents_url":"https://api.github.com/repos/openucx/ucx/contents/{+path}","compare_url":"https://api.github.com/repos/openucx/ucx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openucx/ucx/merges","archive_url":"https://api.github.com/repos/openucx/ucx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openucx/ucx/downloads","issues_url":"https://api.github.com/repos/openucx/ucx/issues{/number}","pulls_url":"https://api.github.com/repos/openucx/ucx/pulls{/number}","milestones_url":"https://api.github.com/repos/openucx/ucx/milestones{/number}","notifications_url":"https://api.github.com/repos/openucx/ucx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openucx/ucx/labels{/name}","releases_url":"https://api.github.com/repos/openucx/ucx/releases{/id}","deployments_url":"https://api.github.com/repos/openucx/ucx/deployments","created_at":"2014-10-17T22:17:24Z","updated_at":"2016-09-15T21:32:51Z","pushed_at":"2016-09-21T08:55:38Z","git_url":"git://github.com/openucx/ucx.git","ssh_url":"git@github.com:openucx/ucx.git","clone_url":"https://github.com/openucx/ucx.git","svn_url":"https://github.com/openucx/ucx","homepage":"http://www.openucx.org","size":7920,"stargazers_count":44,"watchers_count":44,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":41,"mirror_url":null,"open_issues_count":87,"forks":41,"open_issues":87,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openucx/ucx/pulls/999"},"html":{"href":"https://github.com/openucx/ucx/pull/999"},"issue":{"href":"https://api.github.com/repos/openucx/ucx/issues/999"},"comments":{"href":"https://api.github.com/repos/openucx/ucx/issues/999/comments"},"review_comments":{"href":"https://api.github.com/repos/openucx/ucx/pulls/999/comments"},"review_comment":{"href":"https://api.github.com/repos/openucx/ucx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openucx/ucx/pulls/999/commits"},"statuses":{"href":"https://api.github.com/repos/openucx/ucx/statuses/355f4399f67fbcffa437dd6a2131f13f163be15b"}}}}
{"actor":{"display_login":"guy101"}}