From: Aidan Van Dyk Date: Wed, 30 Jul 2008 19:49:05 GMT Subject: Re: [PATCH] Add NO_RSYNC to allow building without rsync Message-ID: <20080730194905.GI10399@yugib.highrise.ca> In-Reply-To: * Linus Torvalds [080730 15:42]: > 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.