ITS#8504 Fix prev commit: mc_error, #ifdef SIGPIPE