Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2014 12:20:16 +0400
From:      Boris Samorodov <bsam@passap.ru>
To:        Robert Backhaus <robbak@robbak.com>, Stefan Bethke <stb@lassitu.de>,  Freebsd_mailinglist_PORTS <freebsd-ports@freebsd.org>
Subject:   Re: foomatic-rip and foo2zjs
Message-ID:  <535B6C40.8050006@passap.ru>
In-Reply-To: <CABG_4jn0%2BTcfhz-4Wb_%2BS3ibw5ty5_-TWEjaBwSc5w6afZgYVw@mail.gmail.com>
References:  <338BD4B8-F25A-4CC5-A5FA-451C48BB5A5C@lassitu.de>	<535A4E09.5000006@passap.ru>	<CABG_4j=HydwYgJizCCwsdQD7A3-D=64YkBsb10xTsRweU7Hvqw@mail.gmail.com>	<C30C335D-DCA2-4B26-A9E6-400361ABFBF4@lassitu.de>	<535A8394.4060507@passap.ru>	<85y4ytpdgx.fsf@iznogoud.viz> <CABG_4jn0%2BTcfhz-4Wb_%2BS3ibw5ty5_-TWEjaBwSc5w6afZgYVw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
26.04.2014 02:16, Robert Backhaus пишет:
> On 26 April 2014 02:41, Wolfgang Jenkner <wjenkner@inode.at
> <mailto:wjenkner@inode.at>> wrote:
> 
>     On Fri, Apr 25 2014, Boris Samorodov wrote:
> 
>     >> Am 25.04.2014 um 15:20 schrieb Robert Backhaus <robbak@robbak.com
>     <mailto:robbak@robbak.com>>:
>     >>
>     >>> int fd = mkstemp (LOG_FILE "-XXXXXX.log"); - checked, edited,
>     built - Yup, that's it. Here's the patch:
> 
>     I think the problem is simply that mkstemp(3) requires an argument with
>     /trailing/ Xs, in accordance with POSIX[1].  So the upstream usage of it
>     seems to be wrong.
> 
>     [1]
>     http://pubs.opengroup.org/onlinepubs/009695399/functions/mkstemp.html
> 
> Yes, sorry. I got this wrong.
>
> The fix upstream has been to stop using mkstemp, and switch to using
> sprintf directly.
>
>
http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/revision/7196

Thanks to all involved! The patch for foomatic-filters and an update
of cups-filters are committed.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?535B6C40.8050006>