A man who has spent 38 years in prison for murder wept today as his conviction was quashed by the Court of Appeal.