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

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

From
Aidan Van Dyk <aidan@highrise.ca>
Date
Jul 30, 2008, 19:49 UTC
Message-ID
<20080730194905.GI10399@yugib.highrise.ca>
In-Reply-To
<alpine.LFD.1.10.0807301231050.3334@nehalem.linux-foundation.org>
* Linus Torvalds <torvalds@linux-foundation.org> [080730 15:42]:
 
Show 12 quoted lines
> 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?

And as I go to whip that up (ya, I'm lazy and just needed a prod), I see it's already done:

# Define NO_MKDTEMP if you don't have mkdtemp in the C library.

But since rsync isn't available on this compile anyways, I still think NO_RSYNC is worth having on it's own, just like NO_CURL or NO_TCLTK

a.
-- 
Aidan Van Dyk                                             Create like a god,
aidan@highrise.ca                                       command like a king,
http://www.highrise.ca/                                   work like a slave.
Previous: Linus TorvaldsNext: Junio C Hamano
Message 3 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.