{"action":"closed","number":791,"pull_request":{"url":"https://api.github.com/repos/libarchive/libarchive/pulls/791","id":87398630,"html_url":"https://github.com/libarchive/libarchive/pull/791","diff_url":"https://github.com/libarchive/libarchive/pull/791.diff","patch_url":"https://github.com/libarchive/libarchive/pull/791.patch","issue_url":"https://api.github.com/repos/libarchive/libarchive/issues/791","number":791,"state":"closed","locked":false,"title":"Fix scoping error with \"disk\" variable","user":{"login":"hartzell","id":312978,"avatar_url":"https://avatars.githubusercontent.com/u/312978?v=3","gravatar_id":"","url":"https://api.github.com/users/hartzell","html_url":"https://github.com/hartzell","followers_url":"https://api.github.com/users/hartzell/followers","following_url":"https://api.github.com/users/hartzell/following{/other_user}","gists_url":"https://api.github.com/users/hartzell/gists{/gist_id}","starred_url":"https://api.github.com/users/hartzell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hartzell/subscriptions","organizations_url":"https://api.github.com/users/hartzell/orgs","repos_url":"https://api.github.com/users/hartzell/repos","events_url":"https://api.github.com/users/hartzell/events{/privacy}","received_events_url":"https://api.github.com/users/hartzell/received_events","type":"User","site_admin":false},"body":"The variable named 'disk' inside the loop was hiding the variable named\r\n'disk' at the outer level.  The outer variable was never used, get rid\r\nof it.\r\n\r\nMove the call to archive_read_disk_set_standard_lookup(disk) inside the\r\nloop so that it Does What It Should.\r\n\r\nSee [this comment](https://github.com/libarchive/libarchive/issues/786#issuecomment-250366852) in #786.","created_at":"2016-09-29T21:35:43Z","updated_at":"2016-10-03T00:38:07Z","closed_at":"2016-10-03T00:38:07Z","merged_at":"2016-10-03T00:38:07Z","merge_commit_sha":"2482dcf48be035009968a87828deffda4d741c1c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/libarchive/libarchive/pulls/791/commits","review_comments_url":"https://api.github.com/repos/libarchive/libarchive/pulls/791/comments","review_comment_url":"https://api.github.com/repos/libarchive/libarchive/pulls/comments{/number}","comments_url":"https://api.github.com/repos/libarchive/libarchive/issues/791/comments","statuses_url":"https://api.github.com/repos/libarchive/libarchive/statuses/e2c01a16b75212f48e8e65bc53b7fb47329b544d","head":{"label":"hartzell:bug/disk-variable-masked","ref":"bug/disk-variable-masked","sha":"e2c01a16b75212f48e8e65bc53b7fb47329b544d","user":{"login":"hartzell","id":312978,"avatar_url":"https://avatars.githubusercontent.com/u/312978?v=3","gravatar_id":"","url":"https://api.github.com/users/hartzell","html_url":"https://github.com/hartzell","followers_url":"https://api.github.com/users/hartzell/followers","following_url":"https://api.github.com/users/hartzell/following{/other_user}","gists_url":"https://api.github.com/users/hartzell/gists{/gist_id}","starred_url":"https://api.github.com/users/hartzell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hartzell/subscriptions","organizations_url":"https://api.github.com/users/hartzell/orgs","repos_url":"https://api.github.com/users/hartzell/repos","events_url":"https://api.github.com/users/hartzell/events{/privacy}","received_events_url":"https://api.github.com/users/hartzell/received_events","type":"User","site_admin":false},"repo":{"id":69608945,"name":"libarchive","full_name":"hartzell/libarchive","owner":{"login":"hartzell","id":312978,"avatar_url":"https://avatars.githubusercontent.com/u/312978?v=3","gravatar_id":"","url":"https://api.github.com/users/hartzell","html_url":"https://github.com/hartzell","followers_url":"https://api.github.com/users/hartzell/followers","following_url":"https://api.github.com/users/hartzell/following{/other_user}","gists_url":"https://api.github.com/users/hartzell/gists{/gist_id}","starred_url":"https://api.github.com/users/hartzell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hartzell/subscriptions","organizations_url":"https://api.github.com/users/hartzell/orgs","repos_url":"https://api.github.com/users/hartzell/repos","events_url":"https://api.github.com/users/hartzell/events{/privacy}","received_events_url":"https://api.github.com/users/hartzell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hartzell/libarchive","description":"Multi-format archive and compression library","fork":true,"url":"https://api.github.com/repos/hartzell/libarchive","forks_url":"https://api.github.com/repos/hartzell/libarchive/forks","keys_url":"https://api.github.com/repos/hartzell/libarchive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hartzell/libarchive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hartzell/libarchive/teams","hooks_url":"https://api.github.com/repos/hartzell/libarchive/hooks","issue_events_url":"https://api.github.com/repos/hartzell/libarchive/issues/events{/number}","events_url":"https://api.github.com/repos/hartzell/libarchive/events","assignees_url":"https://api.github.com/repos/hartzell/libarchive/assignees{/user}","branches_url":"https://api.github.com/repos/hartzell/libarchive/branches{/branch}","tags_url":"https://api.github.com/repos/hartzell/libarchive/tags","blobs_url":"https://api.github.com/repos/hartzell/libarchive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hartzell/libarchive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hartzell/libarchive/git/refs{/sha}","trees_url":"https://api.github.com/repos/hartzell/libarchive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hartzell/libarchive/statuses/{sha}","languages_url":"https://api.github.com/repos/hartzell/libarchive/languages","stargazers_url":"https://api.github.com/repos/hartzell/libarchive/stargazers","contributors_url":"https://api.github.com/repos/hartzell/libarchive/contributors","subscribers_url":"https://api.github.com/repos/hartzell/libarchive/subscribers","subscription_url":"https://api.github.com/repos/hartzell/libarchive/subscription","commits_url":"https://api.github.com/repos/hartzell/libarchive/commits{/sha}","git_commits_url":"https://api.github.com/repos/hartzell/libarchive/git/commits{/sha}","comments_url":"https://api.github.com/repos/hartzell/libarchive/comments{/number}","issue_comment_url":"https://api.github.com/repos/hartzell/libarchive/issues/comments{/number}","contents_url":"https://api.github.com/repos/hartzell/libarchive/contents/{+path}","compare_url":"https://api.github.com/repos/hartzell/libarchive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hartzell/libarchive/merges","archive_url":"https://api.github.com/repos/hartzell/libarchive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hartzell/libarchive/downloads","issues_url":"https://api.github.com/repos/hartzell/libarchive/issues{/number}","pulls_url":"https://api.github.com/repos/hartzell/libarchive/pulls{/number}","milestones_url":"https://api.github.com/repos/hartzell/libarchive/milestones{/number}","notifications_url":"https://api.github.com/repos/hartzell/libarchive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hartzell/libarchive/labels{/name}","releases_url":"https://api.github.com/repos/hartzell/libarchive/releases{/id}","deployments_url":"https://api.github.com/repos/hartzell/libarchive/deployments","created_at":"2016-09-29T21:21:55Z","updated_at":"2016-09-29T21:22:02Z","pushed_at":"2016-09-29T21:34:30Z","git_url":"git://github.com/hartzell/libarchive.git","ssh_url":"git@github.com:hartzell/libarchive.git","clone_url":"https://github.com/hartzell/libarchive.git","svn_url":"https://github.com/hartzell/libarchive","homepage":"http://www.libarchive.org","size":20431,"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":"libarchive:master","ref":"master","sha":"d93dafd1f00f8ac550e73f0a83f36853e3db3e8f","user":{"login":"libarchive","id":1354741,"avatar_url":"https://avatars.githubusercontent.com/u/1354741?v=3","gravatar_id":"","url":"https://api.github.com/users/libarchive","html_url":"https://github.com/libarchive","followers_url":"https://api.github.com/users/libarchive/followers","following_url":"https://api.github.com/users/libarchive/following{/other_user}","gists_url":"https://api.github.com/users/libarchive/gists{/gist_id}","starred_url":"https://api.github.com/users/libarchive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libarchive/subscriptions","organizations_url":"https://api.github.com/users/libarchive/orgs","repos_url":"https://api.github.com/users/libarchive/repos","events_url":"https://api.github.com/users/libarchive/events{/privacy}","received_events_url":"https://api.github.com/users/libarchive/received_events","type":"Organization","site_admin":false},"repo":{"id":3219804,"name":"libarchive","full_name":"libarchive/libarchive","owner":{"login":"libarchive","id":1354741,"avatar_url":"https://avatars.githubusercontent.com/u/1354741?v=3","gravatar_id":"","url":"https://api.github.com/users/libarchive","html_url":"https://github.com/libarchive","followers_url":"https://api.github.com/users/libarchive/followers","following_url":"https://api.github.com/users/libarchive/following{/other_user}","gists_url":"https://api.github.com/users/libarchive/gists{/gist_id}","starred_url":"https://api.github.com/users/libarchive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libarchive/subscriptions","organizations_url":"https://api.github.com/users/libarchive/orgs","repos_url":"https://api.github.com/users/libarchive/repos","events_url":"https://api.github.com/users/libarchive/events{/privacy}","received_events_url":"https://api.github.com/users/libarchive/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libarchive/libarchive","description":"Multi-format archive and compression library","fork":false,"url":"https://api.github.com/repos/libarchive/libarchive","forks_url":"https://api.github.com/repos/libarchive/libarchive/forks","keys_url":"https://api.github.com/repos/libarchive/libarchive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libarchive/libarchive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libarchive/libarchive/teams","hooks_url":"https://api.github.com/repos/libarchive/libarchive/hooks","issue_events_url":"https://api.github.com/repos/libarchive/libarchive/issues/events{/number}","events_url":"https://api.github.com/repos/libarchive/libarchive/events","assignees_url":"https://api.github.com/repos/libarchive/libarchive/assignees{/user}","branches_url":"https://api.github.com/repos/libarchive/libarchive/branches{/branch}","tags_url":"https://api.github.com/repos/libarchive/libarchive/tags","blobs_url":"https://api.github.com/repos/libarchive/libarchive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libarchive/libarchive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libarchive/libarchive/git/refs{/sha}","trees_url":"https://api.github.com/repos/libarchive/libarchive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libarchive/libarchive/statuses/{sha}","languages_url":"https://api.github.com/repos/libarchive/libarchive/languages","stargazers_url":"https://api.github.com/repos/libarchive/libarchive/stargazers","contributors_url":"https://api.github.com/repos/libarchive/libarchive/contributors","subscribers_url":"https://api.github.com/repos/libarchive/libarchive/subscribers","subscription_url":"https://api.github.com/repos/libarchive/libarchive/subscription","commits_url":"https://api.github.com/repos/libarchive/libarchive/commits{/sha}","git_commits_url":"https://api.github.com/repos/libarchive/libarchive/git/commits{/sha}","comments_url":"https://api.github.com/repos/libarchive/libarchive/comments{/number}","issue_comment_url":"https://api.github.com/repos/libarchive/libarchive/issues/comments{/number}","contents_url":"https://api.github.com/repos/libarchive/libarchive/contents/{+path}","compare_url":"https://api.github.com/repos/libarchive/libarchive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libarchive/libarchive/merges","archive_url":"https://api.github.com/repos/libarchive/libarchive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libarchive/libarchive/downloads","issues_url":"https://api.github.com/repos/libarchive/libarchive/issues{/number}","pulls_url":"https://api.github.com/repos/libarchive/libarchive/pulls{/number}","milestones_url":"https://api.github.com/repos/libarchive/libarchive/milestones{/number}","notifications_url":"https://api.github.com/repos/libarchive/libarchive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libarchive/libarchive/labels{/name}","releases_url":"https://api.github.com/repos/libarchive/libarchive/releases{/id}","deployments_url":"https://api.github.com/repos/libarchive/libarchive/deployments","created_at":"2012-01-19T18:16:02Z","updated_at":"2016-09-30T20:15:38Z","pushed_at":"2016-10-03T00:38:07Z","git_url":"git://github.com/libarchive/libarchive.git","ssh_url":"git@github.com:libarchive/libarchive.git","clone_url":"https://github.com/libarchive/libarchive.git","svn_url":"https://github.com/libarchive/libarchive","homepage":"http://www.libarchive.org","size":22884,"stargazers_count":548,"watchers_count":548,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":212,"mirror_url":null,"open_issues_count":149,"forks":212,"open_issues":149,"watchers":548,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/libarchive/libarchive/pulls/791"},"html":{"href":"https://github.com/libarchive/libarchive/pull/791"},"issue":{"href":"https://api.github.com/repos/libarchive/libarchive/issues/791"},"comments":{"href":"https://api.github.com/repos/libarchive/libarchive/issues/791/comments"},"review_comments":{"href":"https://api.github.com/repos/libarchive/libarchive/pulls/791/comments"},"review_comment":{"href":"https://api.github.com/repos/libarchive/libarchive/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/libarchive/libarchive/pulls/791/commits"},"statuses":{"href":"https://api.github.com/repos/libarchive/libarchive/statuses/e2c01a16b75212f48e8e65bc53b7fb47329b544d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kientzle","id":1398793,"avatar_url":"https://avatars.githubusercontent.com/u/1398793?v=3","gravatar_id":"","url":"https://api.github.com/users/kientzle","html_url":"https://github.com/kientzle","followers_url":"https://api.github.com/users/kientzle/followers","following_url":"https://api.github.com/users/kientzle/following{/other_user}","gists_url":"https://api.github.com/users/kientzle/gists{/gist_id}","starred_url":"https://api.github.com/users/kientzle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kientzle/subscriptions","organizations_url":"https://api.github.com/users/kientzle/orgs","repos_url":"https://api.github.com/users/kientzle/repos","events_url":"https://api.github.com/users/kientzle/events{/privacy}","received_events_url":"https://api.github.com/users/kientzle/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":5,"changed_files":1}}
{"actor":{"display_login":"kientzle"}}