{"action":"created","issue":{"url":"https://api.github.com/repos/CTSRD-CHERI/cheribsd/issues/174","repository_url":"https://api.github.com/repos/CTSRD-CHERI/cheribsd","labels_url":"https://api.github.com/repos/CTSRD-CHERI/cheribsd/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/CTSRD-CHERI/cheribsd/issues/174/comments","events_url":"https://api.github.com/repos/CTSRD-CHERI/cheribsd/issues/174/events","html_url":"https://github.com/CTSRD-CHERI/cheribsd/issues/174","id":194126218,"number":174,"title":"mergesort() is unable to sort ints","user":{"login":"brooksdavis","id":3629693,"avatar_url":"https://avatars.githubusercontent.com/u/3629693?v=3","gravatar_id":"","url":"https://api.github.com/users/brooksdavis","html_url":"https://github.com/brooksdavis","followers_url":"https://api.github.com/users/brooksdavis/followers","following_url":"https://api.github.com/users/brooksdavis/following{/other_user}","gists_url":"https://api.github.com/users/brooksdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/brooksdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brooksdavis/subscriptions","organizations_url":"https://api.github.com/users/brooksdavis/orgs","repos_url":"https://api.github.com/users/brooksdavis/repos","events_url":"https://api.github.com/users/brooksdavis/events{/privacy}","received_events_url":"https://api.github.com/users/brooksdavis/received_events","type":"User","site_admin":false},"labels":[{"id":262186995,"url":"https://api.github.com/repos/CTSRD-CHERI/cheribsd/labels/CheriABI","name":"CheriABI","color":"009800","default":false},{"id":266704058,"url":"https://api.github.com/repos/CTSRD-CHERI/cheribsd/labels/CheriCCompat","name":"CheriCCompat","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-07T18:18:13Z","updated_at":"2016-12-07T18:24:46Z","closed_at":null,"body":"FreeBSD's `mergesort()` implementation requires that the size of the object being sorted by at least `sizeof(void *)/2`.  As `sizeof(void *)` is 16 or 32 bytes, this means that neither implementation can sort `int`s and CHERI256 can't sort `long`s.\r\n\r\nA new implementation is likely required."},"comment":{"url":"https://api.github.com/repos/CTSRD-CHERI/cheribsd/issues/comments/265529043","html_url":"https://github.com/CTSRD-CHERI/cheribsd/issues/174#issuecomment-265529043","issue_url":"https://api.github.com/repos/CTSRD-CHERI/cheribsd/issues/174","id":265529043,"user":{"login":"davidchisnall","id":404454,"avatar_url":"https://avatars.githubusercontent.com/u/404454?v=3","gravatar_id":"","url":"https://api.github.com/users/davidchisnall","html_url":"https://github.com/davidchisnall","followers_url":"https://api.github.com/users/davidchisnall/followers","following_url":"https://api.github.com/users/davidchisnall/following{/other_user}","gists_url":"https://api.github.com/users/davidchisnall/gists{/gist_id}","starred_url":"https://api.github.com/users/davidchisnall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidchisnall/subscriptions","organizations_url":"https://api.github.com/users/davidchisnall/orgs","repos_url":"https://api.github.com/users/davidchisnall/repos","events_url":"https://api.github.com/users/davidchisnall/events{/privacy}","received_events_url":"https://api.github.com/users/davidchisnall/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T18:24:45Z","updated_at":"2016-12-07T18:24:45Z","body":"Does this mean that it's broken upstream if you try to sort a char array or a short array on 64-bit systems?"}}
{"actor":{"display_login":"davidchisnall"}}