foomatic-rip and foo2zjs

Wolfgang Jenkner wjenkner at inode.at
Fri Apr 25 16:43:05 UTC 2014


On Fri, Apr 25 2014, Boris Samorodov wrote:

>> Am 25.04.2014 um 15:20 schrieb Robert Backhaus <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


More information about the freebsd-ports mailing list