• Andres Freund's avatar
    Add error handling for failing fstat() calls in copy.c. · 2ea95959
    Andres Freund authored
    These calls are pretty much guaranteed not to fail unless something
    has gone horribly wrong, and even in that case we'd just error out a
    short time later.  But since several code checkers complain about the
    missing check it seems worthwile to fix it nonetheless.
    
    Pointed out by Coverity.
    2ea95959
copy.c 123 KB