{"push_id":2478442555,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"0a6f0d615c80d6288ce02eb623467fc2d2a04dcf","before":"79001f39ca76ba66ce6d8f19b518fecc81a85bfd","commits":[{"sha":"b0b3ed03096e800f37eee7826e76029a8a00bbab","author":{"name":"Samuel Merritt","email":"f16bed56189e249fe4ca8ed10a1ecae60e8ceac0@swiftstack.com"},"message":"Improve check for O_TMPFILE support in unit tests\n\nOn Python < 3.4, there is no os.O_TMPFILE, so the check for O_TMPFILE\nsupport was always reporting no-support. We now use utils.O_TMPFILE,\nwhich is always defined.\n\nAlso, when opening an anonymous tempfile, you must open the directory\n(not a file in the directory) with three flags or-ed together:\nO_DIRECTORY, O_WRONLY, and O_TMPFILE. Calling open() with a subset of\nthose flags will receive either EISDIR or EINVAL. The check was trying\nto open a file in the temp dir, so was always reporting no-support for\nO_TMPFILE. We now correctly open the tempdir.\n\nChange-Id: Iaf48ad9aecea73df4e794818dd15070360bff19f","distinct":true,"url":"https://api.github.com/repos/openstack/swift/commits/b0b3ed03096e800f37eee7826e76029a8a00bbab"},{"sha":"0a6f0d615c80d6288ce02eb623467fc2d2a04dcf","author":{"name":"Zuul","email":"824662dd828adcec0bfbb1c6955f2603475eeec7@review.openstack.org"},"message":"Merge \"Improve check for O_TMPFILE support in unit tests\"","distinct":true,"url":"https://api.github.com/repos/openstack/swift/commits/0a6f0d615c80d6288ce02eb623467fc2d2a04dcf"}]}
{"actor":{"display_login":"openstack-gerrit"}}