{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/apexskier/csci467s15/pulls/4","id":33309123,"html_url":"https://github.com/apexskier/csci467s15/pull/4","diff_url":"https://github.com/apexskier/csci467s15/pull/4.diff","patch_url":"https://github.com/apexskier/csci467s15/pull/4.patch","issue_url":"https://api.github.com/repos/apexskier/csci467s15/issues/4","number":4,"state":"closed","locked":false,"title":"Use arrays instead of ptrs for fixed len strings","user":{"login":"moonsdad","id":641660,"avatar_url":"https://avatars.githubusercontent.com/u/641660?v=3","gravatar_id":"","url":"https://api.github.com/users/moonsdad","html_url":"https://github.com/moonsdad","followers_url":"https://api.github.com/users/moonsdad/followers","following_url":"https://api.github.com/users/moonsdad/following{/other_user}","gists_url":"https://api.github.com/users/moonsdad/gists{/gist_id}","starred_url":"https://api.github.com/users/moonsdad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moonsdad/subscriptions","organizations_url":"https://api.github.com/users/moonsdad/orgs","repos_url":"https://api.github.com/users/moonsdad/repos","events_url":"https://api.github.com/users/moonsdad/events{/privacy}","received_events_url":"https://api.github.com/users/moonsdad/received_events","type":"User","site_admin":false},"body":"string name<NAME_LEN> becomes a char*\r\nAs it is when we declare a message on the stack and initialize it with string literals, the pointer will point to read only memory in the text section. If we use an array, we can initialize it with a literal but still have the memory on the stack.\r\n\r\nAnother benefit is the ability to use sizeof(message) to get the actual size of a message.","created_at":"2015-04-14T23:11:54Z","updated_at":"2015-04-15T18:06:14Z","closed_at":"2015-04-15T18:06:14Z","merged_at":"2015-04-15T18:06:14Z","merge_commit_sha":"0a916b6db2dc5545b3ca1df778ab21e187feeff9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apexskier/csci467s15/pulls/4/commits","review_comments_url":"https://api.github.com/repos/apexskier/csci467s15/pulls/4/comments","review_comment_url":"https://api.github.com/repos/apexskier/csci467s15/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apexskier/csci467s15/issues/4/comments","statuses_url":"https://api.github.com/repos/apexskier/csci467s15/statuses/dd78fe11437fc04fc557556d20ce3eeff1f4e207","head":{"label":"moonsdad:master","ref":"master","sha":"dd78fe11437fc04fc557556d20ce3eeff1f4e207","user":{"login":"moonsdad","id":641660,"avatar_url":"https://avatars.githubusercontent.com/u/641660?v=3","gravatar_id":"","url":"https://api.github.com/users/moonsdad","html_url":"https://github.com/moonsdad","followers_url":"https://api.github.com/users/moonsdad/followers","following_url":"https://api.github.com/users/moonsdad/following{/other_user}","gists_url":"https://api.github.com/users/moonsdad/gists{/gist_id}","starred_url":"https://api.github.com/users/moonsdad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moonsdad/subscriptions","organizations_url":"https://api.github.com/users/moonsdad/orgs","repos_url":"https://api.github.com/users/moonsdad/repos","events_url":"https://api.github.com/users/moonsdad/events{/privacy}","received_events_url":"https://api.github.com/users/moonsdad/received_events","type":"User","site_admin":false},"repo":{"id":33961597,"name":"csci467s15","full_name":"moonsdad/csci467s15","owner":{"login":"moonsdad","id":641660,"avatar_url":"https://avatars.githubusercontent.com/u/641660?v=3","gravatar_id":"","url":"https://api.github.com/users/moonsdad","html_url":"https://github.com/moonsdad","followers_url":"https://api.github.com/users/moonsdad/followers","following_url":"https://api.github.com/users/moonsdad/following{/other_user}","gists_url":"https://api.github.com/users/moonsdad/gists{/gist_id}","starred_url":"https://api.github.com/users/moonsdad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moonsdad/subscriptions","organizations_url":"https://api.github.com/users/moonsdad/orgs","repos_url":"https://api.github.com/users/moonsdad/repos","events_url":"https://api.github.com/users/moonsdad/events{/privacy}","received_events_url":"https://api.github.com/users/moonsdad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moonsdad/csci467s15","description":"Class wide specifications for WWU CSCI 467 Spring 2015.","fork":true,"url":"https://api.github.com/repos/moonsdad/csci467s15","forks_url":"https://api.github.com/repos/moonsdad/csci467s15/forks","keys_url":"https://api.github.com/repos/moonsdad/csci467s15/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moonsdad/csci467s15/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moonsdad/csci467s15/teams","hooks_url":"https://api.github.com/repos/moonsdad/csci467s15/hooks","issue_events_url":"https://api.github.com/repos/moonsdad/csci467s15/issues/events{/number}","events_url":"https://api.github.com/repos/moonsdad/csci467s15/events","assignees_url":"https://api.github.com/repos/moonsdad/csci467s15/assignees{/user}","branches_url":"https://api.github.com/repos/moonsdad/csci467s15/branches{/branch}","tags_url":"https://api.github.com/repos/moonsdad/csci467s15/tags","blobs_url":"https://api.github.com/repos/moonsdad/csci467s15/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moonsdad/csci467s15/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moonsdad/csci467s15/git/refs{/sha}","trees_url":"https://api.github.com/repos/moonsdad/csci467s15/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moonsdad/csci467s15/statuses/{sha}","languages_url":"https://api.github.com/repos/moonsdad/csci467s15/languages","stargazers_url":"https://api.github.com/repos/moonsdad/csci467s15/stargazers","contributors_url":"https://api.github.com/repos/moonsdad/csci467s15/contributors","subscribers_url":"https://api.github.com/repos/moonsdad/csci467s15/subscribers","subscription_url":"https://api.github.com/repos/moonsdad/csci467s15/subscription","commits_url":"https://api.github.com/repos/moonsdad/csci467s15/commits{/sha}","git_commits_url":"https://api.github.com/repos/moonsdad/csci467s15/git/commits{/sha}","comments_url":"https://api.github.com/repos/moonsdad/csci467s15/comments{/number}","issue_comment_url":"https://api.github.com/repos/moonsdad/csci467s15/issues/comments{/number}","contents_url":"https://api.github.com/repos/moonsdad/csci467s15/contents/{+path}","compare_url":"https://api.github.com/repos/moonsdad/csci467s15/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moonsdad/csci467s15/merges","archive_url":"https://api.github.com/repos/moonsdad/csci467s15/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moonsdad/csci467s15/downloads","issues_url":"https://api.github.com/repos/moonsdad/csci467s15/issues{/number}","pulls_url":"https://api.github.com/repos/moonsdad/csci467s15/pulls{/number}","milestones_url":"https://api.github.com/repos/moonsdad/csci467s15/milestones{/number}","notifications_url":"https://api.github.com/repos/moonsdad/csci467s15/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moonsdad/csci467s15/labels{/name}","releases_url":"https://api.github.com/repos/moonsdad/csci467s15/releases{/id}","created_at":"2015-04-14T23:05:58Z","updated_at":"2015-04-11T01:41:42Z","pushed_at":"2015-04-14T23:10:05Z","git_url":"git://github.com/moonsdad/csci467s15.git","ssh_url":"git@github.com:moonsdad/csci467s15.git","clone_url":"https://github.com/moonsdad/csci467s15.git","svn_url":"https://github.com/moonsdad/csci467s15","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"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":"apexskier:master","ref":"master","sha":"9dbfb342e5727004a499ecce0278d99c3c646e63","user":{"login":"apexskier","id":329222,"avatar_url":"https://avatars.githubusercontent.com/u/329222?v=3","gravatar_id":"","url":"https://api.github.com/users/apexskier","html_url":"https://github.com/apexskier","followers_url":"https://api.github.com/users/apexskier/followers","following_url":"https://api.github.com/users/apexskier/following{/other_user}","gists_url":"https://api.github.com/users/apexskier/gists{/gist_id}","starred_url":"https://api.github.com/users/apexskier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apexskier/subscriptions","organizations_url":"https://api.github.com/users/apexskier/orgs","repos_url":"https://api.github.com/users/apexskier/repos","events_url":"https://api.github.com/users/apexskier/events{/privacy}","received_events_url":"https://api.github.com/users/apexskier/received_events","type":"User","site_admin":false},"repo":{"id":33758346,"name":"csci467s15","full_name":"apexskier/csci467s15","owner":{"login":"apexskier","id":329222,"avatar_url":"https://avatars.githubusercontent.com/u/329222?v=3","gravatar_id":"","url":"https://api.github.com/users/apexskier","html_url":"https://github.com/apexskier","followers_url":"https://api.github.com/users/apexskier/followers","following_url":"https://api.github.com/users/apexskier/following{/other_user}","gists_url":"https://api.github.com/users/apexskier/gists{/gist_id}","starred_url":"https://api.github.com/users/apexskier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apexskier/subscriptions","organizations_url":"https://api.github.com/users/apexskier/orgs","repos_url":"https://api.github.com/users/apexskier/repos","events_url":"https://api.github.com/users/apexskier/events{/privacy}","received_events_url":"https://api.github.com/users/apexskier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/apexskier/csci467s15","description":"Class wide specifications for WWU CSCI 467 Spring 2015.","fork":false,"url":"https://api.github.com/repos/apexskier/csci467s15","forks_url":"https://api.github.com/repos/apexskier/csci467s15/forks","keys_url":"https://api.github.com/repos/apexskier/csci467s15/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apexskier/csci467s15/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apexskier/csci467s15/teams","hooks_url":"https://api.github.com/repos/apexskier/csci467s15/hooks","issue_events_url":"https://api.github.com/repos/apexskier/csci467s15/issues/events{/number}","events_url":"https://api.github.com/repos/apexskier/csci467s15/events","assignees_url":"https://api.github.com/repos/apexskier/csci467s15/assignees{/user}","branches_url":"https://api.github.com/repos/apexskier/csci467s15/branches{/branch}","tags_url":"https://api.github.com/repos/apexskier/csci467s15/tags","blobs_url":"https://api.github.com/repos/apexskier/csci467s15/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apexskier/csci467s15/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apexskier/csci467s15/git/refs{/sha}","trees_url":"https://api.github.com/repos/apexskier/csci467s15/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apexskier/csci467s15/statuses/{sha}","languages_url":"https://api.github.com/repos/apexskier/csci467s15/languages","stargazers_url":"https://api.github.com/repos/apexskier/csci467s15/stargazers","contributors_url":"https://api.github.com/repos/apexskier/csci467s15/contributors","subscribers_url":"https://api.github.com/repos/apexskier/csci467s15/subscribers","subscription_url":"https://api.github.com/repos/apexskier/csci467s15/subscription","commits_url":"https://api.github.com/repos/apexskier/csci467s15/commits{/sha}","git_commits_url":"https://api.github.com/repos/apexskier/csci467s15/git/commits{/sha}","comments_url":"https://api.github.com/repos/apexskier/csci467s15/comments{/number}","issue_comment_url":"https://api.github.com/repos/apexskier/csci467s15/issues/comments{/number}","contents_url":"https://api.github.com/repos/apexskier/csci467s15/contents/{+path}","compare_url":"https://api.github.com/repos/apexskier/csci467s15/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apexskier/csci467s15/merges","archive_url":"https://api.github.com/repos/apexskier/csci467s15/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apexskier/csci467s15/downloads","issues_url":"https://api.github.com/repos/apexskier/csci467s15/issues{/number}","pulls_url":"https://api.github.com/repos/apexskier/csci467s15/pulls{/number}","milestones_url":"https://api.github.com/repos/apexskier/csci467s15/milestones{/number}","notifications_url":"https://api.github.com/repos/apexskier/csci467s15/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apexskier/csci467s15/labels{/name}","releases_url":"https://api.github.com/repos/apexskier/csci467s15/releases{/id}","created_at":"2015-04-11T01:41:42Z","updated_at":"2015-04-11T01:41:42Z","pushed_at":"2015-04-15T18:06:14Z","git_url":"git://github.com/apexskier/csci467s15.git","ssh_url":"git@github.com:apexskier/csci467s15.git","clone_url":"https://github.com/apexskier/csci467s15.git","svn_url":"https://github.com/apexskier/csci467s15","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apexskier/csci467s15/pulls/4"},"html":{"href":"https://github.com/apexskier/csci467s15/pull/4"},"issue":{"href":"https://api.github.com/repos/apexskier/csci467s15/issues/4"},"comments":{"href":"https://api.github.com/repos/apexskier/csci467s15/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/apexskier/csci467s15/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/apexskier/csci467s15/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apexskier/csci467s15/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/apexskier/csci467s15/statuses/dd78fe11437fc04fc557556d20ce3eeff1f4e207"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"apexskier","id":329222,"avatar_url":"https://avatars.githubusercontent.com/u/329222?v=3","gravatar_id":"","url":"https://api.github.com/users/apexskier","html_url":"https://github.com/apexskier","followers_url":"https://api.github.com/users/apexskier/followers","following_url":"https://api.github.com/users/apexskier/following{/other_user}","gists_url":"https://api.github.com/users/apexskier/gists{/gist_id}","starred_url":"https://api.github.com/users/apexskier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apexskier/subscriptions","organizations_url":"https://api.github.com/users/apexskier/orgs","repos_url":"https://api.github.com/users/apexskier/repos","events_url":"https://api.github.com/users/apexskier/events{/privacy}","received_events_url":"https://api.github.com/users/apexskier/received_events","type":"User","site_admin":false},"comments":7,"review_comments":0,"commits":1,"additions":4,"deletions":4,"changed_files":1}}