<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/compat/mkdtemp.c, branch v2.45.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.45.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.45.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2010-02-25T20:08:22Z</updated>
<entry>
<title>Fix gitmkdtemp: correct test for mktemp() return value</title>
<updated>2010-02-25T20:08:22Z</updated>
<author>
<name>Filippo Negroni</name>
<email>fnegroni@flexerasoftware.com</email>
</author>
<published>2010-02-25T10:01:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1f80c2afb0d826567a9a5a1c3ce76c28883e0e96'/>
<id>urn:sha1:1f80c2afb0d826567a9a5a1c3ce76c28883e0e96</id>
<content type='text'>
In gitmkdtemp, the return value of mktemp is not tested correctly.
mktemp() always returns its 'template' argument, even upon failure.
An error is signalled by making the template an empty string.

Signed-off-by: Filippo Negroni &lt;fnegroni@flexerasoftware.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Define compat version of mkdtemp for systems lacking it</title>
<updated>2007-10-21T02:52:21Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-10-20T20:03:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ca5bb5d5390e4ec709ca3e11c451c58a836d4ee6'/>
<id>urn:sha1:ca5bb5d5390e4ec709ca3e11c451c58a836d4ee6</id>
<content type='text'>
Solaris 9 doesn't have mkdtemp() so we need to emulate it for the
rsync transport implementation.  Since Solaris 9 is lacking this
function we can also reasonably assume it is not available on
Solaris 8 either.  The new Makfile definition NO_MKDTEMP can be
set to enable the git compat version.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
</feed>
