{"action":"created","comment":{"url":"https://api.github.com/repos/rust-lang-nursery/libc/pulls/comments/47581432","id":47581432,"diff_hunk":"@@ -100,6 +106,47 @@ pub const DT_REG: u8 = 8;\n pub const DT_LNK: u8 = 10;\n pub const DT_SOCK: u8 = 12;\n \n+pub const FD_CLOEXEC: ::c_int = 0x1;\n+\n+pub static CLONE_VM: ::c_uint = 0;\n+pub static CLONE_FS: ::c_uint = 0;\n+pub static CLONE_FILES: ::c_uint = 0;\n+pub static CLONE_SIGHAND: ::c_uint = 0;\n+pub static CLONE_PTRACE: ::c_uint = 0;\n+pub static CLONE_VFORK: ::c_uint = 0;\n+pub static CLONE_PARENT: ::c_uint = 0;\n+pub static CLONE_THREAD: ::c_uint = 0;\n+pub static CLONE_NEWNS: ::c_uint = 0;\n+pub static CLONE_SYSVSEM: ::c_uint = 0;\n+pub static CLONE_SETTLS: ::c_uint = 0;\n+pub static CLONE_PARENT_SETTID: ::c_uint = 0;\n+pub static CLONE_CHILD_CLEARTID: ::c_uint = 0;\n+pub static CLONE_DETACHED: ::c_uint = 0;\n+pub static CLONE_UNTRACED: ::c_uint = 0;\n+pub static CLONE_CHILD_SETTID: ::c_uint = 0;\n+pub static CLONE_NEWUTS: ::c_uint = 0;\n+pub static CLONE_NEWIPC: ::c_uint = 0;\n+pub static CLONE_NEWUSER: ::c_uint = 0;\n+pub static CLONE_NEWPID: ::c_uint = 0;\n+pub static CLONE_NEWNET: ::c_uint = 0;\n+pub static CLONE_IO: ::c_uint = 0;","path":"src/unix/mod.rs","position":null,"original_position":47,"commit_id":"93da9be76096c1508b7cc6b991040159e89a870e","original_commit_id":"4e8cc7e29ad4feb797fe32edd3f0403dadf61928","user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"body":"d'oh, looks like the usage of `pub static` instead of `pub const` caused these to all subvert CI, causing mayhem!","created_at":"2015-12-15T00:30:27Z","updated_at":"2015-12-15T00:30:27Z","html_url":"https://github.com/rust-lang-nursery/libc/pull/93#discussion_r47581432","pull_request_url":"https://api.github.com/repos/rust-lang-nursery/libc/pulls/93","_links":{"self":{"href":"https://api.github.com/repos/rust-lang-nursery/libc/pulls/comments/47581432"},"html":{"href":"https://github.com/rust-lang-nursery/libc/pull/93#discussion_r47581432"},"pull_request":{"href":"https://api.github.com/repos/rust-lang-nursery/libc/pulls/93"}}},"pull_request":{"url":"https://api.github.com/repos/rust-lang-nursery/libc/pulls/93","id":53406268,"html_url":"https://github.com/rust-lang-nursery/libc/pull/93","diff_url":"https://github.com/rust-lang-nursery/libc/pull/93.diff","patch_url":"https://github.com/rust-lang-nursery/libc/pull/93.patch","issue_url":"https://api.github.com/repos/rust-lang-nursery/libc/issues/93","number":93,"state":"open","locked":false,"title":"Add a load of constants/definitions from nix","user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"body":"This is a blanket import of lots of constants and function from nix-rust","created_at":"2015-12-11T15:33:27Z","updated_at":"2015-12-15T00:30:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7cfdc832e7ea0e2815069112ca5729a260e58a38","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rust-lang-nursery/libc/pulls/93/commits","review_comments_url":"https://api.github.com/repos/rust-lang-nursery/libc/pulls/93/comments","review_comment_url":"https://api.github.com/repos/rust-lang-nursery/libc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rust-lang-nursery/libc/issues/93/comments","statuses_url":"https://api.github.com/repos/rust-lang-nursery/libc/statuses/93da9be76096c1508b7cc6b991040159e89a870e","head":{"label":"alexcrichton:nix-additions","ref":"nix-additions","sha":"93da9be76096c1508b7cc6b991040159e89a870e","user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"repo":{"id":42224767,"name":"libc","full_name":"alexcrichton/libc","owner":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexcrichton/libc","description":"","fork":true,"url":"https://api.github.com/repos/alexcrichton/libc","forks_url":"https://api.github.com/repos/alexcrichton/libc/forks","keys_url":"https://api.github.com/repos/alexcrichton/libc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexcrichton/libc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexcrichton/libc/teams","hooks_url":"https://api.github.com/repos/alexcrichton/libc/hooks","issue_events_url":"https://api.github.com/repos/alexcrichton/libc/issues/events{/number}","events_url":"https://api.github.com/repos/alexcrichton/libc/events","assignees_url":"https://api.github.com/repos/alexcrichton/libc/assignees{/user}","branches_url":"https://api.github.com/repos/alexcrichton/libc/branches{/branch}","tags_url":"https://api.github.com/repos/alexcrichton/libc/tags","blobs_url":"https://api.github.com/repos/alexcrichton/libc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexcrichton/libc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexcrichton/libc/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexcrichton/libc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexcrichton/libc/statuses/{sha}","languages_url":"https://api.github.com/repos/alexcrichton/libc/languages","stargazers_url":"https://api.github.com/repos/alexcrichton/libc/stargazers","contributors_url":"https://api.github.com/repos/alexcrichton/libc/contributors","subscribers_url":"https://api.github.com/repos/alexcrichton/libc/subscribers","subscription_url":"https://api.github.com/repos/alexcrichton/libc/subscription","commits_url":"https://api.github.com/repos/alexcrichton/libc/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexcrichton/libc/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexcrichton/libc/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexcrichton/libc/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexcrichton/libc/contents/{+path}","compare_url":"https://api.github.com/repos/alexcrichton/libc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexcrichton/libc/merges","archive_url":"https://api.github.com/repos/alexcrichton/libc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexcrichton/libc/downloads","issues_url":"https://api.github.com/repos/alexcrichton/libc/issues{/number}","pulls_url":"https://api.github.com/repos/alexcrichton/libc/pulls{/number}","milestones_url":"https://api.github.com/repos/alexcrichton/libc/milestones{/number}","notifications_url":"https://api.github.com/repos/alexcrichton/libc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexcrichton/libc/labels{/name}","releases_url":"https://api.github.com/repos/alexcrichton/libc/releases{/id}","created_at":"2015-09-10T05:47:24Z","updated_at":"2015-09-24T12:03:26Z","pushed_at":"2015-12-15T00:27:39Z","git_url":"git://github.com/alexcrichton/libc.git","ssh_url":"git@github.com:alexcrichton/libc.git","clone_url":"https://github.com/alexcrichton/libc.git","svn_url":"https://github.com/alexcrichton/libc","homepage":null,"size":2695,"stargazers_count":1,"watchers_count":1,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"rust-lang-nursery:master","ref":"master","sha":"e432357a377c660989d4030bd2bccc7a7dd14c2f","user":{"login":"rust-lang-nursery","id":14631425,"avatar_url":"https://avatars.githubusercontent.com/u/14631425?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang-nursery","html_url":"https://github.com/rust-lang-nursery","followers_url":"https://api.github.com/users/rust-lang-nursery/followers","following_url":"https://api.github.com/users/rust-lang-nursery/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang-nursery/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang-nursery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang-nursery/subscriptions","organizations_url":"https://api.github.com/users/rust-lang-nursery/orgs","repos_url":"https://api.github.com/users/rust-lang-nursery/repos","events_url":"https://api.github.com/users/rust-lang-nursery/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang-nursery/received_events","type":"Organization","site_admin":false},"repo":{"id":29197565,"name":"libc","full_name":"rust-lang-nursery/libc","owner":{"login":"rust-lang-nursery","id":14631425,"avatar_url":"https://avatars.githubusercontent.com/u/14631425?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-lang-nursery","html_url":"https://github.com/rust-lang-nursery","followers_url":"https://api.github.com/users/rust-lang-nursery/followers","following_url":"https://api.github.com/users/rust-lang-nursery/following{/other_user}","gists_url":"https://api.github.com/users/rust-lang-nursery/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-lang-nursery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-lang-nursery/subscriptions","organizations_url":"https://api.github.com/users/rust-lang-nursery/orgs","repos_url":"https://api.github.com/users/rust-lang-nursery/repos","events_url":"https://api.github.com/users/rust-lang-nursery/events{/privacy}","received_events_url":"https://api.github.com/users/rust-lang-nursery/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rust-lang-nursery/libc","description":"Raw bindings to platform APIs for Rust","fork":false,"url":"https://api.github.com/repos/rust-lang-nursery/libc","forks_url":"https://api.github.com/repos/rust-lang-nursery/libc/forks","keys_url":"https://api.github.com/repos/rust-lang-nursery/libc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rust-lang-nursery/libc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rust-lang-nursery/libc/teams","hooks_url":"https://api.github.com/repos/rust-lang-nursery/libc/hooks","issue_events_url":"https://api.github.com/repos/rust-lang-nursery/libc/issues/events{/number}","events_url":"https://api.github.com/repos/rust-lang-nursery/libc/events","assignees_url":"https://api.github.com/repos/rust-lang-nursery/libc/assignees{/user}","branches_url":"https://api.github.com/repos/rust-lang-nursery/libc/branches{/branch}","tags_url":"https://api.github.com/repos/rust-lang-nursery/libc/tags","blobs_url":"https://api.github.com/repos/rust-lang-nursery/libc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rust-lang-nursery/libc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rust-lang-nursery/libc/git/refs{/sha}","trees_url":"https://api.github.com/repos/rust-lang-nursery/libc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rust-lang-nursery/libc/statuses/{sha}","languages_url":"https://api.github.com/repos/rust-lang-nursery/libc/languages","stargazers_url":"https://api.github.com/repos/rust-lang-nursery/libc/stargazers","contributors_url":"https://api.github.com/repos/rust-lang-nursery/libc/contributors","subscribers_url":"https://api.github.com/repos/rust-lang-nursery/libc/subscribers","subscription_url":"https://api.github.com/repos/rust-lang-nursery/libc/subscription","commits_url":"https://api.github.com/repos/rust-lang-nursery/libc/commits{/sha}","git_commits_url":"https://api.github.com/repos/rust-lang-nursery/libc/git/commits{/sha}","comments_url":"https://api.github.com/repos/rust-lang-nursery/libc/comments{/number}","issue_comment_url":"https://api.github.com/repos/rust-lang-nursery/libc/issues/comments{/number}","contents_url":"https://api.github.com/repos/rust-lang-nursery/libc/contents/{+path}","compare_url":"https://api.github.com/repos/rust-lang-nursery/libc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rust-lang-nursery/libc/merges","archive_url":"https://api.github.com/repos/rust-lang-nursery/libc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rust-lang-nursery/libc/downloads","issues_url":"https://api.github.com/repos/rust-lang-nursery/libc/issues{/number}","pulls_url":"https://api.github.com/repos/rust-lang-nursery/libc/pulls{/number}","milestones_url":"https://api.github.com/repos/rust-lang-nursery/libc/milestones{/number}","notifications_url":"https://api.github.com/repos/rust-lang-nursery/libc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rust-lang-nursery/libc/labels{/name}","releases_url":"https://api.github.com/repos/rust-lang-nursery/libc/releases{/id}","created_at":"2015-01-13T15:54:27Z","updated_at":"2015-12-14T13:43:25Z","pushed_at":"2015-12-15T00:27:39Z","git_url":"git://github.com/rust-lang-nursery/libc.git","ssh_url":"git@github.com:rust-lang-nursery/libc.git","clone_url":"https://github.com/rust-lang-nursery/libc.git","svn_url":"https://github.com/rust-lang-nursery/libc","homepage":"","size":3174,"stargazers_count":37,"watchers_count":37,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":35,"mirror_url":null,"open_issues_count":11,"forks":35,"open_issues":11,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rust-lang-nursery/libc/pulls/93"},"html":{"href":"https://github.com/rust-lang-nursery/libc/pull/93"},"issue":{"href":"https://api.github.com/repos/rust-lang-nursery/libc/issues/93"},"comments":{"href":"https://api.github.com/repos/rust-lang-nursery/libc/issues/93/comments"},"review_comments":{"href":"https://api.github.com/repos/rust-lang-nursery/libc/pulls/93/comments"},"review_comment":{"href":"https://api.github.com/repos/rust-lang-nursery/libc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rust-lang-nursery/libc/pulls/93/commits"},"statuses":{"href":"https://api.github.com/repos/rust-lang-nursery/libc/statuses/93da9be76096c1508b7cc6b991040159e89a870e"}}}}