Simplest problematic case is this: $ pdftohtml a.pdf The exit status for this command is 0 if the file doesn't exist. It should be greater than 0.
(In reply to comment #0) > Simplest problematic case is this: > > $ pdftohtml a.pdf > > The exit status for this command is 0 if the file doesn't exist. It should > be greater than 0. Tested on OSX: pdftohtml version 0.26.3 installed using brew install poppler (v 0.26.3) Debian: pdftohtml version 0.26.4 installed using apt-get install poppler-utils (0.26.4-1)
Created attachment 113753 [details] [review] Simple patch, adds variable exit_status and sets to EXIT_FAILURE before goto error Simple patch, adds variable exit_status and sets to EXIT_FAILURE before goto error
Matt thanks for the patch i've pushed something based on yours but reversed, i.e. initialize to error and just set success just before the error: goto in case everything went well.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.