{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/pulls/6","id":350324548,"node_id":"MDExOlB1bGxSZXF1ZXN0MzUwMzI0NTQ4","html_url":"https://github.com/mit-pdos/xv6-riscv-book/pull/6","diff_url":"https://github.com/mit-pdos/xv6-riscv-book/pull/6.diff","patch_url":"https://github.com/mit-pdos/xv6-riscv-book/pull/6.patch","issue_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/issues/6","number":6,"state":"open","locked":false,"title":"fix typos in return values","user":{"login":"nhayama","id":49526139,"node_id":"MDQ6VXNlcjQ5NTI2MTM5","avatar_url":"https://avatars0.githubusercontent.com/u/49526139?v=4","gravatar_id":"","url":"https://api.github.com/users/nhayama","html_url":"https://github.com/nhayama","followers_url":"https://api.github.com/users/nhayama/followers","following_url":"https://api.github.com/users/nhayama/following{/other_user}","gists_url":"https://api.github.com/users/nhayama/gists{/gist_id}","starred_url":"https://api.github.com/users/nhayama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhayama/subscriptions","organizations_url":"https://api.github.com/users/nhayama/orgs","repos_url":"https://api.github.com/users/nhayama/repos","events_url":"https://api.github.com/users/nhayama/events{/privacy}","received_events_url":"https://api.github.com/users/nhayama/received_events","type":"User","site_admin":false},"body":"Both copyout() and exec() return -1 if they fail, but section 3.8 (Code: sbrk) of book.pdf says they return 1.\r\nIt's because mem.tex uses \"\\-1\" and minus signs fall out in the middle of making book.pdf.\r\nI think you should replace \"\\-1\" with \"-1\".","created_at":"2019-12-07T16:22:40Z","updated_at":"2019-12-07T16:22:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/pulls/6/commits","review_comments_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/pulls/6/comments","review_comment_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/issues/6/comments","statuses_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/statuses/3bf8b032debf80778c92ec06c08f7b45946f858b","head":{"label":"nhayama:fix_typo","ref":"fix_typo","sha":"3bf8b032debf80778c92ec06c08f7b45946f858b","user":{"login":"nhayama","id":49526139,"node_id":"MDQ6VXNlcjQ5NTI2MTM5","avatar_url":"https://avatars0.githubusercontent.com/u/49526139?v=4","gravatar_id":"","url":"https://api.github.com/users/nhayama","html_url":"https://github.com/nhayama","followers_url":"https://api.github.com/users/nhayama/followers","following_url":"https://api.github.com/users/nhayama/following{/other_user}","gists_url":"https://api.github.com/users/nhayama/gists{/gist_id}","starred_url":"https://api.github.com/users/nhayama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhayama/subscriptions","organizations_url":"https://api.github.com/users/nhayama/orgs","repos_url":"https://api.github.com/users/nhayama/repos","events_url":"https://api.github.com/users/nhayama/events{/privacy}","received_events_url":"https://api.github.com/users/nhayama/received_events","type":"User","site_admin":false},"repo":{"id":226541156,"node_id":"MDEwOlJlcG9zaXRvcnkyMjY1NDExNTY=","name":"xv6-riscv-book","full_name":"nhayama/xv6-riscv-book","private":false,"owner":{"login":"nhayama","id":49526139,"node_id":"MDQ6VXNlcjQ5NTI2MTM5","avatar_url":"https://avatars0.githubusercontent.com/u/49526139?v=4","gravatar_id":"","url":"https://api.github.com/users/nhayama","html_url":"https://github.com/nhayama","followers_url":"https://api.github.com/users/nhayama/followers","following_url":"https://api.github.com/users/nhayama/following{/other_user}","gists_url":"https://api.github.com/users/nhayama/gists{/gist_id}","starred_url":"https://api.github.com/users/nhayama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhayama/subscriptions","organizations_url":"https://api.github.com/users/nhayama/orgs","repos_url":"https://api.github.com/users/nhayama/repos","events_url":"https://api.github.com/users/nhayama/events{/privacy}","received_events_url":"https://api.github.com/users/nhayama/received_events","type":"User","site_admin":false},"html_url":"https://github.com/nhayama/xv6-riscv-book","description":"Text describing xv6 on RISC-V","fork":true,"url":"https://api.github.com/repos/nhayama/xv6-riscv-book","forks_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/forks","keys_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/teams","hooks_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/hooks","issue_events_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/issues/events{/number}","events_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/events","assignees_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/assignees{/user}","branches_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/branches{/branch}","tags_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/tags","blobs_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/git/refs{/sha}","trees_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/statuses/{sha}","languages_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/languages","stargazers_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/stargazers","contributors_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/contributors","subscribers_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/subscribers","subscription_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/subscription","commits_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/commits{/sha}","git_commits_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/git/commits{/sha}","comments_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/comments{/number}","issue_comment_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/issues/comments{/number}","contents_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/contents/{+path}","compare_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/merges","archive_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/downloads","issues_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/issues{/number}","pulls_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/pulls{/number}","milestones_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/milestones{/number}","notifications_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/labels{/name}","releases_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/releases{/id}","deployments_url":"https://api.github.com/repos/nhayama/xv6-riscv-book/deployments","created_at":"2019-12-07T16:15:03Z","updated_at":"2019-12-07T16:15:04Z","pushed_at":"2019-12-07T16:20:58Z","git_url":"git://github.com/nhayama/xv6-riscv-book.git","ssh_url":"git@github.com:nhayama/xv6-riscv-book.git","clone_url":"https://github.com/nhayama/xv6-riscv-book.git","svn_url":"https://github.com/nhayama/xv6-riscv-book","homepage":null,"size":4868,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"xv6-riscv"}},"base":{"label":"mit-pdos:xv6-riscv","ref":"xv6-riscv","sha":"ca13de462d1936f4ff3c249fcbc261fc93c48b53","user":{"login":"mit-pdos","id":12404246,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDA0MjQ2","avatar_url":"https://avatars1.githubusercontent.com/u/12404246?v=4","gravatar_id":"","url":"https://api.github.com/users/mit-pdos","html_url":"https://github.com/mit-pdos","followers_url":"https://api.github.com/users/mit-pdos/followers","following_url":"https://api.github.com/users/mit-pdos/following{/other_user}","gists_url":"https://api.github.com/users/mit-pdos/gists{/gist_id}","starred_url":"https://api.github.com/users/mit-pdos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mit-pdos/subscriptions","organizations_url":"https://api.github.com/users/mit-pdos/orgs","repos_url":"https://api.github.com/users/mit-pdos/repos","events_url":"https://api.github.com/users/mit-pdos/events{/privacy}","received_events_url":"https://api.github.com/users/mit-pdos/received_events","type":"Organization","site_admin":false},"repo":{"id":204577122,"node_id":"MDEwOlJlcG9zaXRvcnkyMDQ1NzcxMjI=","name":"xv6-riscv-book","full_name":"mit-pdos/xv6-riscv-book","private":false,"owner":{"login":"mit-pdos","id":12404246,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNDA0MjQ2","avatar_url":"https://avatars1.githubusercontent.com/u/12404246?v=4","gravatar_id":"","url":"https://api.github.com/users/mit-pdos","html_url":"https://github.com/mit-pdos","followers_url":"https://api.github.com/users/mit-pdos/followers","following_url":"https://api.github.com/users/mit-pdos/following{/other_user}","gists_url":"https://api.github.com/users/mit-pdos/gists{/gist_id}","starred_url":"https://api.github.com/users/mit-pdos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mit-pdos/subscriptions","organizations_url":"https://api.github.com/users/mit-pdos/orgs","repos_url":"https://api.github.com/users/mit-pdos/repos","events_url":"https://api.github.com/users/mit-pdos/events{/privacy}","received_events_url":"https://api.github.com/users/mit-pdos/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mit-pdos/xv6-riscv-book","description":"Text describing xv6 on RISC-V","fork":false,"url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book","forks_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/forks","keys_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/teams","hooks_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/hooks","issue_events_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/issues/events{/number}","events_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/events","assignees_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/assignees{/user}","branches_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/branches{/branch}","tags_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/tags","blobs_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/git/refs{/sha}","trees_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/statuses/{sha}","languages_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/languages","stargazers_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/stargazers","contributors_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/contributors","subscribers_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/subscribers","subscription_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/subscription","commits_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/commits{/sha}","git_commits_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/git/commits{/sha}","comments_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/comments{/number}","issue_comment_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/issues/comments{/number}","contents_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/contents/{+path}","compare_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/merges","archive_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/downloads","issues_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/issues{/number}","pulls_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/pulls{/number}","milestones_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/milestones{/number}","notifications_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/labels{/name}","releases_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/releases{/id}","deployments_url":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/deployments","created_at":"2019-08-26T23:09:33Z","updated_at":"2019-12-05T21:55:41Z","pushed_at":"2019-12-04T21:21:23Z","git_url":"git://github.com/mit-pdos/xv6-riscv-book.git","ssh_url":"git@github.com:mit-pdos/xv6-riscv-book.git","clone_url":"https://github.com/mit-pdos/xv6-riscv-book.git","svn_url":"https://github.com/mit-pdos/xv6-riscv-book","homepage":null,"size":4868,"stargazers_count":42,"watchers_count":42,"language":"TeX","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":4,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":7,"open_issues":4,"watchers":42,"default_branch":"xv6-riscv"}},"_links":{"self":{"href":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/pulls/6"},"html":{"href":"https://github.com/mit-pdos/xv6-riscv-book/pull/6"},"issue":{"href":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/issues/6"},"comments":{"href":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/mit-pdos/xv6-riscv-book/statuses/3bf8b032debf80778c92ec06c08f7b45946f858b"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":3,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"nhayama"}}