git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: mkstemps compat issue

From
David Aguilar <davvid@gmail.com>
Date
Jun 8, 2009, 01:13 UTC
Message-ID
<20090608011334.GA5974@gmail.com>
In-Reply-To
<DAD17464-336A-451A-AEFE-26481D6B39B2@web.de>
On Sun, Jun 07, 2009 at 02:49:16PM +0200, Andreas Färber wrote:
Show 13 quoted lines
>
> Am 07.06.2009 um 14:32 schrieb Andreas Färber:
>
>> The merge commit b11cf09043f18b368ec0d988f064ea21247c843d introduced a 
>> git_mkstemps function in path.c, using mkstemps for the  
>> implementation. Unlike mkstemp that function is not part of POSIX, so 
>> we seem to need a NO_MKSTEMPS option and corresponding alternative code 
>> path.
>>
>> Any suggestions how to best replace mkstemps?
>
> Sorry for the noise... NO_MKSTEMPS=YesPlease does work correctly if  
> typed correctly. (Thanks for the hint!)
Thanks for keeping an eye on it.

I'm still keeping my eye on the patch that introduced the basename() compat function to see if we missed any Makefile settings for the non-linux platforms. We support a lot of platforms! =)

-- 
	David
Previous: Andreas Färber
Message 3 of 3 in “mkstemps compat issue”
  1. Andreas FärberJun 7, 2009
  2. Andreas FärberJun 7, 2009
  3. David AguilarJun 8, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.