Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2014 18:41:02 +0200
From:      Wolfgang Jenkner <wjenkner@inode.at>
To:        Boris Samorodov <bsam@passap.ru>
Cc:        Freebsd_mailinglist_PORTS <freebsd-ports@freebsd.org>, Stefan Bethke <stb@lassitu.de>, Robert Backhaus <robbak@robbak.com>
Subject:   Re: foomatic-rip and foo2zjs
Message-ID:  <85y4ytpdgx.fsf@iznogoud.viz>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 25 2014, Boris Samorodov wrote:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85y4ytpdgx.fsf>