On Mon, Aug 30, 2010 at 18:40, Johannes Sixt <j6t@xxxxxxxx> wrote: > On Montag, 30. August 2010, Joshua Jensen wrote: >> From: Ævar Arnfjörð Bjarmason >> > + COMPAT_OBJS = compat/fnmatch/fnmatch.o >> > + COMPAT_CFLAGS = -Icompat -Icompat/fnmatch > ... >> You added COMPAT_OBJS >> above, but I think there is no linker guarantee it will pick up >> compat/fnmatch/fnmatch.o over the C runtime version? > > The way linkers work ensures that git code picks up the compat version when > defined this way. So why does e.g. compat/snprintf.c need to "#undef snprintf" before defining it again? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html