Evan Longoria lost a run-scoring double by inches when a drive he hit in the first inning Sunday hooked foul. So the Giants third baseman settled for a consolation prize: a three-run homer.