{"push_id":1037879576,"size":1,"distinct_size":1,"ref":"refs/heads/bugfix/file_descriptor_0","head":"157e6f9df7989abd72d509c9827d13b2b10258de","before":"111b86c9eb01c5b7d2ac3eb957bef012d961fa7f","commits":[{"sha":"157e6f9df7989abd72d509c9827d13b2b10258de","author":{"email":"c839d18b45b04e26ecdba3134b2531b12688b228@scypho.com","name":"Linus Wallgren"},"message":"A closed serialport now uses fd = null\n\nChecking if the fd is falsy leads to the incorrect classification of the\nfd 0 as invalid. That is not the case, open(2) specifies the fd as \"a\nsmall, nonnegative integer\".\n\nThis also adds tests for all the cases where the fd was previously\nincorrectly considered invalid, which required adding three more methods\nto the mock-hardware (update, set and drain).\n\nThis solves issue #472","distinct":true,"url":"https://api.github.com/repos/Scypho/node-serialport/commits/157e6f9df7989abd72d509c9827d13b2b10258de"}]}