]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
libcupsfilters: In texttopdf() did redirrection of stdout to outputfd
authorTill Kamppeter <till.kamppeter@gmail.com>
Sun, 24 Oct 2021 09:07:28 +0000 (11:07 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Sun, 24 Oct 2021 09:07:28 +0000 (11:07 +0200)
commita3484d65a71540d0748b60d084d043b5c6d1e53e
treedd8e8e950e1a49b26915c46f29168ef7d65b387f
parentd009d46141ffbd46a5d17a771ad09c70212c9032
libcupsfilters: In texttopdf() did redirrection of stdout to outputfd

The texttopdf() filter function was missing the redirection of stdout
to the output file descriptor of the function call, outputfd.

On error of parsing the charset configuration file and loading the
fonts exit(1) was called which would kill the caller in a filter
function. This is corrected now, too.
cupsfilters/texttopdf.c