Airlines around the world canceled and delayed flights heading into the weekend to fix software on a widely used commercial aircraft after an analysis found the computer code…