{"action":"opened","number":339,"pull_request":{"url":"https://api.github.com/repos/NCAR/ParallelIO/pulls/339","id":98176050,"html_url":"https://github.com/NCAR/ParallelIO/pull/339","diff_url":"https://github.com/NCAR/ParallelIO/pull/339.diff","patch_url":"https://github.com/NCAR/ParallelIO/pull/339.patch","issue_url":"https://api.github.com/repos/NCAR/ParallelIO/issues/339","number":339,"state":"open","locked":false,"title":"fix setting of iosystem error handler with no file_desc_t present for non-async cases","user":{"login":"edhartnett","id":4533212,"avatar_url":"https://avatars.githubusercontent.com/u/4533212?v=3","gravatar_id":"","url":"https://api.github.com/users/edhartnett","html_url":"https://github.com/edhartnett","followers_url":"https://api.github.com/users/edhartnett/followers","following_url":"https://api.github.com/users/edhartnett/following{/other_user}","gists_url":"https://api.github.com/users/edhartnett/gists{/gist_id}","starred_url":"https://api.github.com/users/edhartnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edhartnett/subscriptions","organizations_url":"https://api.github.com/users/edhartnett/orgs","repos_url":"https://api.github.com/users/edhartnett/repos","events_url":"https://api.github.com/users/edhartnett/events{/privacy}","received_events_url":"https://api.github.com/users/edhartnett/received_events","type":"User","site_admin":false},"body":"Fixes #330.\r\n\r\nFixes #268.\r\n\r\nPart of #238, part of #225.\r\n\r\nSetting the iosystem error handler was not working (even for non-async cases). This was tested in test_nc4, where I delete a file, and then try to reopen it, only to get an error code.\r\n\r\nThis was causing an abort, because it was not accepting my setting of the iosystem error handler to RETURN. (Which I need for this test to work.)\r\n\r\nI have introduced new functions PIOc_set_file_error() and PIOc_set_iosystem_error() because I need all API functions to return an error code on failure, and the existing PIOc_Set_File_Error_Handling() and PIOc_Set_IOSystem_Error_Handling() return the previous setting and have no way to return errors.\r\n\r\nThe old functions are still there and still supported, but I guess they should be removed, and the new ones used from the fortran API.\r\n\r\n","created_at":"2016-12-15T15:49:54Z","updated_at":"2016-12-15T15:49:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aacdc1947164c7a825ae0d863a59222cfa96104e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NCAR/ParallelIO/pulls/339/commits","review_comments_url":"https://api.github.com/repos/NCAR/ParallelIO/pulls/339/comments","review_comment_url":"https://api.github.com/repos/NCAR/ParallelIO/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NCAR/ParallelIO/issues/339/comments","statuses_url":"https://api.github.com/repos/NCAR/ParallelIO/statuses/87786f1de3b98371e2da077266dffa26408fcbf9","head":{"label":"NCAR:ejh_check_netcdf","ref":"ejh_check_netcdf","sha":"87786f1de3b98371e2da077266dffa26408fcbf9","user":{"login":"NCAR","id":2007542,"avatar_url":"https://avatars.githubusercontent.com/u/2007542?v=3","gravatar_id":"","url":"https://api.github.com/users/NCAR","html_url":"https://github.com/NCAR","followers_url":"https://api.github.com/users/NCAR/followers","following_url":"https://api.github.com/users/NCAR/following{/other_user}","gists_url":"https://api.github.com/users/NCAR/gists{/gist_id}","starred_url":"https://api.github.com/users/NCAR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NCAR/subscriptions","organizations_url":"https://api.github.com/users/NCAR/orgs","repos_url":"https://api.github.com/users/NCAR/repos","events_url":"https://api.github.com/users/NCAR/events{/privacy}","received_events_url":"https://api.github.com/users/NCAR/received_events","type":"Organization","site_admin":false},"repo":{"id":32825351,"name":"ParallelIO","full_name":"NCAR/ParallelIO","owner":{"login":"NCAR","id":2007542,"avatar_url":"https://avatars.githubusercontent.com/u/2007542?v=3","gravatar_id":"","url":"https://api.github.com/users/NCAR","html_url":"https://github.com/NCAR","followers_url":"https://api.github.com/users/NCAR/followers","following_url":"https://api.github.com/users/NCAR/following{/other_user}","gists_url":"https://api.github.com/users/NCAR/gists{/gist_id}","starred_url":"https://api.github.com/users/NCAR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NCAR/subscriptions","organizations_url":"https://api.github.com/users/NCAR/orgs","repos_url":"https://api.github.com/users/NCAR/repos","events_url":"https://api.github.com/users/NCAR/events{/privacy}","received_events_url":"https://api.github.com/users/NCAR/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NCAR/ParallelIO","description":"A high-level Parallel I/O Library for structured grid applications","fork":false,"url":"https://api.github.com/repos/NCAR/ParallelIO","forks_url":"https://api.github.com/repos/NCAR/ParallelIO/forks","keys_url":"https://api.github.com/repos/NCAR/ParallelIO/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NCAR/ParallelIO/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NCAR/ParallelIO/teams","hooks_url":"https://api.github.com/repos/NCAR/ParallelIO/hooks","issue_events_url":"https://api.github.com/repos/NCAR/ParallelIO/issues/events{/number}","events_url":"https://api.github.com/repos/NCAR/ParallelIO/events","assignees_url":"https://api.github.com/repos/NCAR/ParallelIO/assignees{/user}","branches_url":"https://api.github.com/repos/NCAR/ParallelIO/branches{/branch}","tags_url":"https://api.github.com/repos/NCAR/ParallelIO/tags","blobs_url":"https://api.github.com/repos/NCAR/ParallelIO/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NCAR/ParallelIO/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NCAR/ParallelIO/git/refs{/sha}","trees_url":"https://api.github.com/repos/NCAR/ParallelIO/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NCAR/ParallelIO/statuses/{sha}","languages_url":"https://api.github.com/repos/NCAR/ParallelIO/languages","stargazers_url":"https://api.github.com/repos/NCAR/ParallelIO/stargazers","contributors_url":"https://api.github.com/repos/NCAR/ParallelIO/contributors","subscribers_url":"https://api.github.com/repos/NCAR/ParallelIO/subscribers","subscription_url":"https://api.github.com/repos/NCAR/ParallelIO/subscription","commits_url":"https://api.github.com/repos/NCAR/ParallelIO/commits{/sha}","git_commits_url":"https://api.github.com/repos/NCAR/ParallelIO/git/commits{/sha}","comments_url":"https://api.github.com/repos/NCAR/ParallelIO/comments{/number}","issue_comment_url":"https://api.github.com/repos/NCAR/ParallelIO/issues/comments{/number}","contents_url":"https://api.github.com/repos/NCAR/ParallelIO/contents/{+path}","compare_url":"https://api.github.com/repos/NCAR/ParallelIO/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NCAR/ParallelIO/merges","archive_url":"https://api.github.com/repos/NCAR/ParallelIO/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NCAR/ParallelIO/downloads","issues_url":"https://api.github.com/repos/NCAR/ParallelIO/issues{/number}","pulls_url":"https://api.github.com/repos/NCAR/ParallelIO/pulls{/number}","milestones_url":"https://api.github.com/repos/NCAR/ParallelIO/milestones{/number}","notifications_url":"https://api.github.com/repos/NCAR/ParallelIO/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NCAR/ParallelIO/labels{/name}","releases_url":"https://api.github.com/repos/NCAR/ParallelIO/releases{/id}","deployments_url":"https://api.github.com/repos/NCAR/ParallelIO/deployments","created_at":"2015-03-24T21:10:44Z","updated_at":"2016-12-14T13:02:48Z","pushed_at":"2016-12-15T15:49:54Z","git_url":"git://github.com/NCAR/ParallelIO.git","ssh_url":"git@github.com:NCAR/ParallelIO.git","clone_url":"https://github.com/NCAR/ParallelIO.git","svn_url":"https://github.com/NCAR/ParallelIO","homepage":null,"size":10044,"stargazers_count":16,"watchers_count":16,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"open_issues_count":42,"forks":10,"open_issues":42,"watchers":16,"default_branch":"master"}},"base":{"label":"NCAR:master","ref":"master","sha":"bd048892a0b5390818f3d194622ba1e5267cd0eb","user":{"login":"NCAR","id":2007542,"avatar_url":"https://avatars.githubusercontent.com/u/2007542?v=3","gravatar_id":"","url":"https://api.github.com/users/NCAR","html_url":"https://github.com/NCAR","followers_url":"https://api.github.com/users/NCAR/followers","following_url":"https://api.github.com/users/NCAR/following{/other_user}","gists_url":"https://api.github.com/users/NCAR/gists{/gist_id}","starred_url":"https://api.github.com/users/NCAR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NCAR/subscriptions","organizations_url":"https://api.github.com/users/NCAR/orgs","repos_url":"https://api.github.com/users/NCAR/repos","events_url":"https://api.github.com/users/NCAR/events{/privacy}","received_events_url":"https://api.github.com/users/NCAR/received_events","type":"Organization","site_admin":false},"repo":{"id":32825351,"name":"ParallelIO","full_name":"NCAR/ParallelIO","owner":{"login":"NCAR","id":2007542,"avatar_url":"https://avatars.githubusercontent.com/u/2007542?v=3","gravatar_id":"","url":"https://api.github.com/users/NCAR","html_url":"https://github.com/NCAR","followers_url":"https://api.github.com/users/NCAR/followers","following_url":"https://api.github.com/users/NCAR/following{/other_user}","gists_url":"https://api.github.com/users/NCAR/gists{/gist_id}","starred_url":"https://api.github.com/users/NCAR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NCAR/subscriptions","organizations_url":"https://api.github.com/users/NCAR/orgs","repos_url":"https://api.github.com/users/NCAR/repos","events_url":"https://api.github.com/users/NCAR/events{/privacy}","received_events_url":"https://api.github.com/users/NCAR/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NCAR/ParallelIO","description":"A high-level Parallel I/O Library for structured grid applications","fork":false,"url":"https://api.github.com/repos/NCAR/ParallelIO","forks_url":"https://api.github.com/repos/NCAR/ParallelIO/forks","keys_url":"https://api.github.com/repos/NCAR/ParallelIO/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NCAR/ParallelIO/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NCAR/ParallelIO/teams","hooks_url":"https://api.github.com/repos/NCAR/ParallelIO/hooks","issue_events_url":"https://api.github.com/repos/NCAR/ParallelIO/issues/events{/number}","events_url":"https://api.github.com/repos/NCAR/ParallelIO/events","assignees_url":"https://api.github.com/repos/NCAR/ParallelIO/assignees{/user}","branches_url":"https://api.github.com/repos/NCAR/ParallelIO/branches{/branch}","tags_url":"https://api.github.com/repos/NCAR/ParallelIO/tags","blobs_url":"https://api.github.com/repos/NCAR/ParallelIO/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NCAR/ParallelIO/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NCAR/ParallelIO/git/refs{/sha}","trees_url":"https://api.github.com/repos/NCAR/ParallelIO/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NCAR/ParallelIO/statuses/{sha}","languages_url":"https://api.github.com/repos/NCAR/ParallelIO/languages","stargazers_url":"https://api.github.com/repos/NCAR/ParallelIO/stargazers","contributors_url":"https://api.github.com/repos/NCAR/ParallelIO/contributors","subscribers_url":"https://api.github.com/repos/NCAR/ParallelIO/subscribers","subscription_url":"https://api.github.com/repos/NCAR/ParallelIO/subscription","commits_url":"https://api.github.com/repos/NCAR/ParallelIO/commits{/sha}","git_commits_url":"https://api.github.com/repos/NCAR/ParallelIO/git/commits{/sha}","comments_url":"https://api.github.com/repos/NCAR/ParallelIO/comments{/number}","issue_comment_url":"https://api.github.com/repos/NCAR/ParallelIO/issues/comments{/number}","contents_url":"https://api.github.com/repos/NCAR/ParallelIO/contents/{+path}","compare_url":"https://api.github.com/repos/NCAR/ParallelIO/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NCAR/ParallelIO/merges","archive_url":"https://api.github.com/repos/NCAR/ParallelIO/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NCAR/ParallelIO/downloads","issues_url":"https://api.github.com/repos/NCAR/ParallelIO/issues{/number}","pulls_url":"https://api.github.com/repos/NCAR/ParallelIO/pulls{/number}","milestones_url":"https://api.github.com/repos/NCAR/ParallelIO/milestones{/number}","notifications_url":"https://api.github.com/repos/NCAR/ParallelIO/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NCAR/ParallelIO/labels{/name}","releases_url":"https://api.github.com/repos/NCAR/ParallelIO/releases{/id}","deployments_url":"https://api.github.com/repos/NCAR/ParallelIO/deployments","created_at":"2015-03-24T21:10:44Z","updated_at":"2016-12-14T13:02:48Z","pushed_at":"2016-12-15T15:49:54Z","git_url":"git://github.com/NCAR/ParallelIO.git","ssh_url":"git@github.com:NCAR/ParallelIO.git","clone_url":"https://github.com/NCAR/ParallelIO.git","svn_url":"https://github.com/NCAR/ParallelIO","homepage":null,"size":10044,"stargazers_count":16,"watchers_count":16,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"open_issues_count":42,"forks":10,"open_issues":42,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NCAR/ParallelIO/pulls/339"},"html":{"href":"https://github.com/NCAR/ParallelIO/pull/339"},"issue":{"href":"https://api.github.com/repos/NCAR/ParallelIO/issues/339"},"comments":{"href":"https://api.github.com/repos/NCAR/ParallelIO/issues/339/comments"},"review_comments":{"href":"https://api.github.com/repos/NCAR/ParallelIO/pulls/339/comments"},"review_comment":{"href":"https://api.github.com/repos/NCAR/ParallelIO/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NCAR/ParallelIO/pulls/339/commits"},"statuses":{"href":"https://api.github.com/repos/NCAR/ParallelIO/statuses/87786f1de3b98371e2da077266dffa26408fcbf9"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":149,"deletions":73,"changed_files":7}}
{"actor":{"display_login":"edhartnett"}}