view .hgsub @ 21527:ab8760b1245d

Raise an error if writes to pipe fail (bug #47381). * gl2ps-print.cc: Re-order #includes. * gl2ps-print.cc (gl2ps_renderer::draw): When copying temporary file to pipe, check that write succeeds by comparing bytes read to bytes written. If an error has occured, clear the SIGPIPE signal by calling octave_signal_handler and then raise an error. letting SIGPIPE interrupt handler eventually deal with the problem.
author Rik <rik@octave.org>
date Tue, 22 Mar 2016 15:17:18 -0700
parents 44f30dcd87e0
children 88b3c6932236
line wrap: on
line source

gnulib-hg = gnulib-hg