Re: What's in git.git (Oct 2008, #03; Tue, 14)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Thursday, October 23, 2008 - 7:44 pm

Brandon Casey <casey@nrlssc.navy.mil> writes:


-- >8 --
Subject: Stop using compat/regex.c on platforms with working regexp library

We used to have non-POSIX comformant BRE in our code, and linked with GNU
regexp library on a few platforms (Darwin, FreeBSD and AIX) to work it
around.  This was backwards.

We've fixed the broken regexps to use ERE that native regexp libraries on
these platforms can handle just fine.  There is no need to link with GNU
regexp library on these platforms anymore.

Tested-on-AIX-by: Mike Ralphson <mike@abacus.co.uk>
Tested-on-FreeBSD-by: Jeff King <peff@peff.net>
Tested-on-Darwin-by: Arjen Laarhoven <arjen@yaph.org>
Tested-on-Darwin-by: Pieter de Bie <pieter@frim.nl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 Makefile |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git c/Makefile w/Makefile
index d6f3695..40309e1 100644
--- c/Makefile
+++ w/Makefile
@@ -640,8 +640,6 @@ ifeq ($(uname_S),Darwin)
 	endif
 	NO_STRLCPY = YesPlease
 	NO_MEMMEM = YesPlease
-	COMPAT_CFLAGS += -Icompat/regex
-	COMPAT_OBJS += compat/regex/regex.o
 endif
 ifeq ($(uname_S),SunOS)
 	NEEDS_SOCKET = YesPlease
@@ -692,8 +690,6 @@ ifeq ($(uname_S),FreeBSD)
 	BASIC_LDFLAGS += -L/usr/local/lib
 	DIR_HAS_BSD_GROUP_SEMANTICS = YesPlease
 	THREADED_DELTA_SEARCH = YesPlease
-	COMPAT_CFLAGS += -Icompat/regex
-	COMPAT_OBJS += compat/regex/regex.o
 endif
 ifeq ($(uname_S),OpenBSD)
 	NO_STRCASESTR = YesPlease
@@ -720,8 +716,6 @@ ifeq ($(uname_S),AIX)
 	INTERNAL_QSORT = UnfortunatelyYes
 	NEEDS_LIBICONV=YesPlease
 	BASIC_CFLAGS += -D_LARGE_FILES
-	COMPAT_CFLAGS += -Icompat/regex
-	COMPAT_OBJS += compat/regex/regex.o
 endif
 ifeq ($(uname_S),GNU)
 	# GNU/Hurd
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
What's in git.git (Oct 2008, #03; Tue, 14), Junio C Hamano, (Tue Oct 14, 3:08 pm)
Re: What's in git.git (Oct 2008, #03; Tue, 14), Brandon Casey, (Wed Oct 15, 8:35 am)
Re: What's in git.git (Oct 2008, #03; Tue, 14), Mike Ralphson, (Wed Oct 15, 10:25 am)
Re: What's in git.git (Oct 2008, #03; Tue, 14), Junio C Hamano, (Wed Oct 15, 12:38 pm)
Re: What's in git.git (Oct 2008, #03; Tue, 14), Shawn O. Pearce, (Wed Oct 15, 1:20 pm)
Re: What's in git.git (Oct 2008, #03; Tue, 14), Junio C Hamano, (Wed Oct 15, 1:26 pm)
Re: What's in git.git (Oct 2008, #03; Tue, 14), Shawn O. Pearce, (Wed Oct 15, 1:36 pm)
Re: What's in git.git (Oct 2008, #03; Tue, 14), Jeff King, (Thu Oct 16, 3:08 am)
Re: What's in git.git (Oct 2008, #03; Tue, 14), Brandon Casey, (Thu Oct 16, 8:21 am)
Re: What's in git.git (Oct 2008, #03; Tue, 14), Pieter de Bie, (Thu Oct 16, 8:37 am)
Re: What's in git.git (Oct 2008, #03; Tue, 14), Arjen Laarhoven, (Fri Oct 17, 12:02 am)
Re: What's in git.git (Oct 2008, #03; Tue, 14), Jeff King, (Fri Oct 17, 2:53 am)
Re: What's in git.git (Oct 2008, #03; Tue, 14), Junio C Hamano, (Thu Oct 23, 7:44 pm)