foomatic-rip and foo2zjs

Boris Samorodov bsam at passap.ru
Sat Apr 26 08:20:22 UTC 2014


26.04.2014 02:16, Robert Backhaus пишет:
> On 26 April 2014 02:41, Wolfgang Jenkner <wjenkner at inode.at
> <mailto:wjenkner at inode.at>> wrote:
> 
>     On Fri, Apr 25 2014, Boris Samorodov wrote:
> 
>     >> Am 25.04.2014 um 15:20 schrieb Robert Backhaus <robbak at robbak.com
>     <mailto:robbak at 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


More information about the freebsd-ports mailing list