[tor-commits] [tor/master] Check return values from fcntl and setsockopt