From 770d454df38e67bc9bb4a0cdf4b1e87513ac36f3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 10 Feb 2001 06:19:01 +0000 Subject: Update. * posix/Makefile: Add rules to build and run bug-regex2. 2001-02-10 Jakub Jelinek * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *. (regex_compile): Likewise. (FREE_VARIABLES): Don't free is_binary1 and is_binary2. (re_match_2_internal): Use just is_binary instead of two variables. Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure. 2001-02-09 Ulrich Drepper --- posix/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'posix/Makefile') diff --git a/posix/Makefile b/posix/Makefile index 3b72aa2617..9b2bd10e8e 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -69,7 +69,7 @@ tests := tstgetopt testfnm runtests runptests \ tst-preadwrite tst-preadwrite64 test-vfork regexbug1 \ tst-getlogin tst-mmap tst-getaddrinfo tst-truncate \ tst-truncate64 tst-fork tst-fnmatch tst-regexloc tst-dir \ - tst-chmod bug-regex1 + tst-chmod bug-regex1 bug-regex2 ifeq (yes,$(build-shared)) test-srcs := globtest tests += wordexp-test tst-exec tst-spawn @@ -137,10 +137,15 @@ endif # Run a test on the header files we use. # XXX Please note that for now we ignore the result of this test. -tests: $(objpfx)annexc.out +tests: $(objpfx)annexc.out $(objpfx)bug-regex2-mem $(objpfx)annexc.out: $(objpfx)annexc -$(dir $<)$(notdir $<) '$(CC)' \ '-I../include -I.. $(+sysdep-includes) $(sysincludes)' > $@ $(objpfx)annexc: annexc.c $(native-compile) + +bug-regex2-ENV = MALLOC_TRACE=$(objpfx)bug-regex2.mtrace + +$(objpfx)bug-regex2-mem: $(objpfx)bug-regex2.out + $(common-objpfx)malloc/mtrace $(objpfx)bug-regex2.mtrace > $@ -- cgit v1.2.3