The Cop and the Anthem by O. Henry -- Short Story Film -- 1982

A comic look at a New York City bum, who tries to get jailed for the cold winter months, but fails, and is ironically locked up after he decides to reform.