{"push_id":1461604410,"size":8,"distinct_size":8,"ref":"refs/heads/master","head":"335cff9f8bb00f3eef2ea2319b307755e55c835c","before":"a73910c43b0ce3b5f5558b59ed64474526d6caa3","commits":[{"sha":"3cb1e4a4e557ec1d802b1cb82a624b783673bd88","author":{"name":"Sebastian Hahn","email":"479e991cbc8fc5a7268644a1c6844f096be68af2@cip.cs.fau.de"},"message":"Add clearenv()","distinct":true,"url":"https://api.github.com/repos/jakllsch/rust-libc/commits/3cb1e4a4e557ec1d802b1cb82a624b783673bd88"},{"sha":"2d86489460ca412178bbcebdfb1109f03043b348","author":{"name":"bors","email":"f85d84007542459f7a0e8d187f971eeac8d04314@rust-lang.org"},"message":"Auto merge of #466 - shahn:clearenv, r=alexcrichton\n\nAdd clearenv()","distinct":true,"url":"https://api.github.com/repos/jakllsch/rust-libc/commits/2d86489460ca412178bbcebdfb1109f03043b348"},{"sha":"9f6f374a7c77475c61565b755a4dbfdc99657961","author":{"name":"Brandon Schaefer","email":"377b02af5b684a7891ce2a27775215c766af4405@canonical.com"},"message":"x86_64-linux-gnu waitstatus.h casts the results to a signed char","distinct":true,"url":"https://api.github.com/repos/jakllsch/rust-libc/commits/9f6f374a7c77475c61565b755a4dbfdc99657961"},{"sha":"fb8587d327ca0a14edbaf7c1656c580efee156d2","author":{"name":"bors","email":"f85d84007542459f7a0e8d187f971eeac8d04314@rust-lang.org"},"message":"Auto merge of #472 - BrandonSchaefer:wifsignaled-fix, r=alexcrichton\n\nWhen checking the status from waitpid on a kill -STOP <child_pid> WIFSIGNALED returns true\n\nCurrently in WIFSIGNALED rust is doing:\n(status & 0x7f) + 1\nwhere status is i32\n\nAs defined in /usr/include/x86_64-linux-gnu/bits/waitstatus.h\n#define __WIFSIGNALED(status) \\\n  (((signed char) (((status) & 0x7f) + 1) >> 1) > 0)\n\nHere is an example of the issue:\nhttp://paste2.org/fXc8BxJ0\n\nRun it, and it'll print the child pid then:\nkill -STOP <child_pid>\n\nExpect:\n  Stopped by signal print statement\nResults:\n  Killed by signal print statement\n\nUsing the i32, it wont overflow leaving you with 128 returning true, using the waitstatus define you'll end up with -64 (since it shifts 1 right) which would return false. Though the C version shifts right once not really sure *why* but theres most likely a reason somewhere.\n\nFor the fix, just cast to i8 (signed char pretty much) as the C version is doing.\n\nRUNNING ALL TESTS\nPASSED 7356 tests","distinct":true,"url":"https://api.github.com/repos/jakllsch/rust-libc/commits/fb8587d327ca0a14edbaf7c1656c580efee156d2"},{"sha":"d563089d589aa763ba2fb320a8de4cd417a28820","author":{"name":"Christian Legnitto","email":"6561f29de41acdcde8d247777b114211ce2ded8c@legnitto.com"},"message":"Add clock_settime()\n\nSee http://www.catb.org/esr/time-programming/#_clock_gettime_2_clock_settime_2_clock_getres_2","distinct":true,"url":"https://api.github.com/repos/jakllsch/rust-libc/commits/d563089d589aa763ba2fb320a8de4cd417a28820"},{"sha":"17ad72e2d8f6875f85205531f1074b1012782f7a","author":{"name":"bors","email":"f85d84007542459f7a0e8d187f971eeac8d04314@rust-lang.org"},"message":"Auto merge of #473 - LegNeato:master, r=alexcrichton\n\nAdd clock_settime()\n\nSee http://www.catb.org/esr/time-programming/#_clock_gettime_2_clock_settime_2_clock_getres_2","distinct":true,"url":"https://api.github.com/repos/jakllsch/rust-libc/commits/17ad72e2d8f6875f85205531f1074b1012782f7a"},{"sha":"a41c074645d08781a91711c5155ed9b156a6c3b5","author":{"name":"Christian Legnitto","email":"6561f29de41acdcde8d247777b114211ce2ded8c@legnitto.com"},"message":"Fix doc generation on travis.\n\nDocumentation generation appears to be failing on master (https://travis-ci.org/rust-lang/libc/jobs/183483333):\n\n```\nCollecting ghp-import\n  Downloading ghp-import-0.4.1.tar.gz\nCollecting travis\n  Could not find a version that satisfies the requirement travis (from versions: )\nNo matching distribution found for travis\n```\n\nBasically `--user` doesn't appear to take an option, so `pip install ghp_import --user $USER` makes pip think the user is a package that needs to be installed (in this case `travis`). As there is no `travis` package, it dies.","distinct":true,"url":"https://api.github.com/repos/jakllsch/rust-libc/commits/a41c074645d08781a91711c5155ed9b156a6c3b5"},{"sha":"335cff9f8bb00f3eef2ea2319b307755e55c835c","author":{"name":"bors","email":"f85d84007542459f7a0e8d187f971eeac8d04314@rust-lang.org"},"message":"Auto merge of #474 - LegNeato:fix-docs, r=alexcrichton\n\nFix doc generation on travis.\n\nDocumentation generation appears to be failing on master (https://travis-ci.org/rust-lang/libc/jobs/183483333):\n\n```\nCollecting ghp-import\n  Downloading ghp-import-0.4.1.tar.gz\nCollecting travis\n  Could not find a version that satisfies the requirement travis (from versions: )\nNo matching distribution found for travis\n```\n\nBasically `--user` doesn't appear to take an option, so `pip install ghp_import --user $USER` makes pip think the user is a package that needs to be installed (in this case `travis`). As there is no `travis` package, it dies.","distinct":true,"url":"https://api.github.com/repos/jakllsch/rust-libc/commits/335cff9f8bb00f3eef2ea2319b307755e55c835c"}]}
{"actor":{"display_login":"jakllsch"}}