The Talmud in Bava Metzia 62a brings a scenario where if two people were traveling in the desert and one has a flask of water but there's only enough water for one of them to reach civilization alive:
Ben Petura rules that it is better for them to share the water even though neither one will survive
Rebbi Akiva disagrees and rules that one's own life takes priority over the life of his fellow man, and thus the owner of the flask should drink all the water himself and live.
Does the Shulchan Aruch or other commonly accepted Acharon provide halacha pesuka for this case?
Would Rebbi Akiva still hold for the person not to share his water if the second person is the person's own child?