{"action":"opened","number":895,"pull_request":{"url":"https://api.github.com/repos/open-mpi/ompi/pulls/895","id":44981003,"html_url":"https://github.com/open-mpi/ompi/pull/895","diff_url":"https://github.com/open-mpi/ompi/pull/895.diff","patch_url":"https://github.com/open-mpi/ompi/pull/895.patch","issue_url":"https://api.github.com/repos/open-mpi/ompi/issues/895","number":895,"state":"open","locked":false,"title":"Search for lstat in sys/stat.h","user":{"login":"wthrowe","id":867117,"avatar_url":"https://avatars.githubusercontent.com/u/867117?v=3","gravatar_id":"","url":"https://api.github.com/users/wthrowe","html_url":"https://github.com/wthrowe","followers_url":"https://api.github.com/users/wthrowe/followers","following_url":"https://api.github.com/users/wthrowe/following{/other_user}","gists_url":"https://api.github.com/users/wthrowe/gists{/gist_id}","starred_url":"https://api.github.com/users/wthrowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wthrowe/subscriptions","organizations_url":"https://api.github.com/users/wthrowe/orgs","repos_url":"https://api.github.com/users/wthrowe/repos","events_url":"https://api.github.com/users/wthrowe/events{/privacy}","received_events_url":"https://api.github.com/users/wthrowe/received_events","type":"User","site_admin":false},"body":"According to the Linux man page, both sys/stat.h and unistd.h are\r\nsupposed to be included before using lstat, and, at least on some\r\nmachines, sys/stat.h is actually the necessary one.\r\n\r\nThis fixes a strange linking failure on one of my systems for reasons that I'm not completely clear on.","created_at":"2015-09-14T21:06:21Z","updated_at":"2015-09-14T21:06:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/open-mpi/ompi/pulls/895/commits","review_comments_url":"https://api.github.com/repos/open-mpi/ompi/pulls/895/comments","review_comment_url":"https://api.github.com/repos/open-mpi/ompi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/open-mpi/ompi/issues/895/comments","statuses_url":"https://api.github.com/repos/open-mpi/ompi/statuses/b22efced5e1d4d822ef6ece24e9b430bdc18d51f","head":{"label":"wthrowe:lstat-header","ref":"lstat-header","sha":"b22efced5e1d4d822ef6ece24e9b430bdc18d51f","user":{"login":"wthrowe","id":867117,"avatar_url":"https://avatars.githubusercontent.com/u/867117?v=3","gravatar_id":"","url":"https://api.github.com/users/wthrowe","html_url":"https://github.com/wthrowe","followers_url":"https://api.github.com/users/wthrowe/followers","following_url":"https://api.github.com/users/wthrowe/following{/other_user}","gists_url":"https://api.github.com/users/wthrowe/gists{/gist_id}","starred_url":"https://api.github.com/users/wthrowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wthrowe/subscriptions","organizations_url":"https://api.github.com/users/wthrowe/orgs","repos_url":"https://api.github.com/users/wthrowe/repos","events_url":"https://api.github.com/users/wthrowe/events{/privacy}","received_events_url":"https://api.github.com/users/wthrowe/received_events","type":"User","site_admin":false},"repo":{"id":42476529,"name":"ompi","full_name":"wthrowe/ompi","owner":{"login":"wthrowe","id":867117,"avatar_url":"https://avatars.githubusercontent.com/u/867117?v=3","gravatar_id":"","url":"https://api.github.com/users/wthrowe","html_url":"https://github.com/wthrowe","followers_url":"https://api.github.com/users/wthrowe/followers","following_url":"https://api.github.com/users/wthrowe/following{/other_user}","gists_url":"https://api.github.com/users/wthrowe/gists{/gist_id}","starred_url":"https://api.github.com/users/wthrowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wthrowe/subscriptions","organizations_url":"https://api.github.com/users/wthrowe/orgs","repos_url":"https://api.github.com/users/wthrowe/repos","events_url":"https://api.github.com/users/wthrowe/events{/privacy}","received_events_url":"https://api.github.com/users/wthrowe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wthrowe/ompi","description":"Open MPI main development repository","fork":true,"url":"https://api.github.com/repos/wthrowe/ompi","forks_url":"https://api.github.com/repos/wthrowe/ompi/forks","keys_url":"https://api.github.com/repos/wthrowe/ompi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wthrowe/ompi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wthrowe/ompi/teams","hooks_url":"https://api.github.com/repos/wthrowe/ompi/hooks","issue_events_url":"https://api.github.com/repos/wthrowe/ompi/issues/events{/number}","events_url":"https://api.github.com/repos/wthrowe/ompi/events","assignees_url":"https://api.github.com/repos/wthrowe/ompi/assignees{/user}","branches_url":"https://api.github.com/repos/wthrowe/ompi/branches{/branch}","tags_url":"https://api.github.com/repos/wthrowe/ompi/tags","blobs_url":"https://api.github.com/repos/wthrowe/ompi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wthrowe/ompi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wthrowe/ompi/git/refs{/sha}","trees_url":"https://api.github.com/repos/wthrowe/ompi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wthrowe/ompi/statuses/{sha}","languages_url":"https://api.github.com/repos/wthrowe/ompi/languages","stargazers_url":"https://api.github.com/repos/wthrowe/ompi/stargazers","contributors_url":"https://api.github.com/repos/wthrowe/ompi/contributors","subscribers_url":"https://api.github.com/repos/wthrowe/ompi/subscribers","subscription_url":"https://api.github.com/repos/wthrowe/ompi/subscription","commits_url":"https://api.github.com/repos/wthrowe/ompi/commits{/sha}","git_commits_url":"https://api.github.com/repos/wthrowe/ompi/git/commits{/sha}","comments_url":"https://api.github.com/repos/wthrowe/ompi/comments{/number}","issue_comment_url":"https://api.github.com/repos/wthrowe/ompi/issues/comments{/number}","contents_url":"https://api.github.com/repos/wthrowe/ompi/contents/{+path}","compare_url":"https://api.github.com/repos/wthrowe/ompi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wthrowe/ompi/merges","archive_url":"https://api.github.com/repos/wthrowe/ompi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wthrowe/ompi/downloads","issues_url":"https://api.github.com/repos/wthrowe/ompi/issues{/number}","pulls_url":"https://api.github.com/repos/wthrowe/ompi/pulls{/number}","milestones_url":"https://api.github.com/repos/wthrowe/ompi/milestones{/number}","notifications_url":"https://api.github.com/repos/wthrowe/ompi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wthrowe/ompi/labels{/name}","releases_url":"https://api.github.com/repos/wthrowe/ompi/releases{/id}","created_at":"2015-09-14T20:56:17Z","updated_at":"2015-09-14T20:56:36Z","pushed_at":"2015-09-14T21:01:24Z","git_url":"git://github.com/wthrowe/ompi.git","ssh_url":"git@github.com:wthrowe/ompi.git","clone_url":"https://github.com/wthrowe/ompi.git","svn_url":"https://github.com/wthrowe/ompi","homepage":null,"size":111874,"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":"open-mpi:master","ref":"master","sha":"6f82ce3fc800566a07cc27e9d3d20bfd3c45ec46","user":{"login":"open-mpi","id":2165682,"avatar_url":"https://avatars.githubusercontent.com/u/2165682?v=3","gravatar_id":"","url":"https://api.github.com/users/open-mpi","html_url":"https://github.com/open-mpi","followers_url":"https://api.github.com/users/open-mpi/followers","following_url":"https://api.github.com/users/open-mpi/following{/other_user}","gists_url":"https://api.github.com/users/open-mpi/gists{/gist_id}","starred_url":"https://api.github.com/users/open-mpi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-mpi/subscriptions","organizations_url":"https://api.github.com/users/open-mpi/orgs","repos_url":"https://api.github.com/users/open-mpi/repos","events_url":"https://api.github.com/users/open-mpi/events{/privacy}","received_events_url":"https://api.github.com/users/open-mpi/received_events","type":"Organization","site_admin":false},"repo":{"id":24107001,"name":"ompi","full_name":"open-mpi/ompi","owner":{"login":"open-mpi","id":2165682,"avatar_url":"https://avatars.githubusercontent.com/u/2165682?v=3","gravatar_id":"","url":"https://api.github.com/users/open-mpi","html_url":"https://github.com/open-mpi","followers_url":"https://api.github.com/users/open-mpi/followers","following_url":"https://api.github.com/users/open-mpi/following{/other_user}","gists_url":"https://api.github.com/users/open-mpi/gists{/gist_id}","starred_url":"https://api.github.com/users/open-mpi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-mpi/subscriptions","organizations_url":"https://api.github.com/users/open-mpi/orgs","repos_url":"https://api.github.com/users/open-mpi/repos","events_url":"https://api.github.com/users/open-mpi/events{/privacy}","received_events_url":"https://api.github.com/users/open-mpi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-mpi/ompi","description":"Open MPI main development repository","fork":false,"url":"https://api.github.com/repos/open-mpi/ompi","forks_url":"https://api.github.com/repos/open-mpi/ompi/forks","keys_url":"https://api.github.com/repos/open-mpi/ompi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-mpi/ompi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-mpi/ompi/teams","hooks_url":"https://api.github.com/repos/open-mpi/ompi/hooks","issue_events_url":"https://api.github.com/repos/open-mpi/ompi/issues/events{/number}","events_url":"https://api.github.com/repos/open-mpi/ompi/events","assignees_url":"https://api.github.com/repos/open-mpi/ompi/assignees{/user}","branches_url":"https://api.github.com/repos/open-mpi/ompi/branches{/branch}","tags_url":"https://api.github.com/repos/open-mpi/ompi/tags","blobs_url":"https://api.github.com/repos/open-mpi/ompi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-mpi/ompi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-mpi/ompi/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-mpi/ompi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-mpi/ompi/statuses/{sha}","languages_url":"https://api.github.com/repos/open-mpi/ompi/languages","stargazers_url":"https://api.github.com/repos/open-mpi/ompi/stargazers","contributors_url":"https://api.github.com/repos/open-mpi/ompi/contributors","subscribers_url":"https://api.github.com/repos/open-mpi/ompi/subscribers","subscription_url":"https://api.github.com/repos/open-mpi/ompi/subscription","commits_url":"https://api.github.com/repos/open-mpi/ompi/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-mpi/ompi/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-mpi/ompi/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-mpi/ompi/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-mpi/ompi/contents/{+path}","compare_url":"https://api.github.com/repos/open-mpi/ompi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-mpi/ompi/merges","archive_url":"https://api.github.com/repos/open-mpi/ompi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-mpi/ompi/downloads","issues_url":"https://api.github.com/repos/open-mpi/ompi/issues{/number}","pulls_url":"https://api.github.com/repos/open-mpi/ompi/pulls{/number}","milestones_url":"https://api.github.com/repos/open-mpi/ompi/milestones{/number}","notifications_url":"https://api.github.com/repos/open-mpi/ompi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-mpi/ompi/labels{/name}","releases_url":"https://api.github.com/repos/open-mpi/ompi/releases{/id}","created_at":"2014-09-16T16:08:30Z","updated_at":"2015-09-14T10:36:22Z","pushed_at":"2015-09-14T19:55:00Z","git_url":"git://github.com/open-mpi/ompi.git","ssh_url":"git@github.com:open-mpi/ompi.git","clone_url":"https://github.com/open-mpi/ompi.git","svn_url":"https://github.com/open-mpi/ompi","homepage":null,"size":111874,"stargazers_count":95,"watchers_count":95,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":89,"mirror_url":null,"open_issues_count":221,"forks":89,"open_issues":221,"watchers":95,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/open-mpi/ompi/pulls/895"},"html":{"href":"https://github.com/open-mpi/ompi/pull/895"},"issue":{"href":"https://api.github.com/repos/open-mpi/ompi/issues/895"},"comments":{"href":"https://api.github.com/repos/open-mpi/ompi/issues/895/comments"},"review_comments":{"href":"https://api.github.com/repos/open-mpi/ompi/pulls/895/comments"},"review_comment":{"href":"https://api.github.com/repos/open-mpi/ompi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/open-mpi/ompi/pulls/895/commits"},"statuses":{"href":"https://api.github.com/repos/open-mpi/ompi/statuses/b22efced5e1d4d822ef6ece24e9b430bdc18d51f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}