When a taxpayer dies, the tax basis of the property is the value of the property on the date of death. As such, if property is sold for this date-of-death value, there is no gain or loss.
A mutual-fund distribution allocated to gains realized on the sale of fund portfolio assets. You report the distribution as long-term capital gain even if you held the fund shares short term.