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

Re: [PATCH] Add NO_RSYNC to allow building without rsync

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Jul 30, 2008, 19:33 UTC
Message-ID
<alpine.LFD.1.10.0807301231050.3334@nehalem.linux-foundation.org>
In-Reply-To
<20080730185225.GG10399@yugib.highrise.ca>
On Wed, 30 Jul 2008, Aidan Van Dyk wrote:
> 
> I came about this because SCO OpenServer doesnt' have mkdtemp.  But I never use
> rsync, so making it optional was an easy fix.

Hmm. Without mkdtemp(), maybe you could just do a trivial compat function somethin glike

	char *git_mkdtemp(char *template)
	{
		char *n = mktemp(template);
		if (mkdir(n))
			n = NULL;
		return n;
	}
instead?
		Linus
Previous: Aidan Van DykNext: Aidan Van Dyk
Message 2 of 6 in “Add NO_RSYNC to allow building without rsync”
  1. Add NO_RSYNC to allow building without rsyncAidan Van Dyk, Jul 30, 2008
  2. Linus TorvaldsJul 30, 2008
  3. Aidan Van DykJul 30, 2008
  4. Junio C HamanoJul 30, 2008
  5. Aidan Van DykJul 30, 2008
  6. Boyd Lynn GerberJul 30, 2008

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.