Re: [PATCH 1/6] Add string comparison functions that respect the ignore_case variable.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]