Re: mktemp: require that the template include at least 6 'X' to match PO
From:
Eric Blake
Subject:
Re: mktemp: require that the template include at least 6 'X' to match POSIX mkstemp/mkdtemp.
Date:
Mon, 18 Jan 2016 08:00:11 -0700
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
On 01/18/2016 12:32 AM, Zhixiong Chi wrote:
> Hi All,
> I find the command 'mktemp' between coreutils and the standalone mktemp
> package is different for the consecutive 'X'.
> mktemp.coreutils : at least 3 'X'
> standalone mktemp : at least 6 'X'
> At the same time I observe a commit as follow:
>https://www.mktemp.org/repos/mktemp/rev/a47f80204f77
> As the commit mentioned, the purpose is to match POSIX requirement.
>
> Will we change the mktemp.coreutils code to match the POSIX?
POSIX requires that portable usage provide six 'X', but does not forbid
us from having an extension that works with fewer 'X'. We are not in
violation of POSIX, so I see no reason to change anything.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc Description: OpenPGP digital signature