aboutsummaryrefslogtreecommitdiff
path: root/posix/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-10 06:19:01 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-10 06:19:01 +0000
commit770d454df38e67bc9bb4a0cdf4b1e87513ac36f3 (patch)
treecef0a2b133aeddd29981f771d5faa402dbf7f4b4 /posix/Makefile
parente8ef6f282bcf9a86e502f0324ad4e9720e539310 (diff)
downloadglibc-770d454df38e67bc9bb4a0cdf4b1e87513ac36f3.tar
glibc-770d454df38e67bc9bb4a0cdf4b1e87513ac36f3.tar.gz
glibc-770d454df38e67bc9bb4a0cdf4b1e87513ac36f3.tar.bz2
glibc-770d454df38e67bc9bb4a0cdf4b1e87513ac36f3.zip
Update.
* posix/Makefile: Add rules to build and run bug-regex2. 2001-02-10 Jakub Jelinek <jakub@redhat.com> * 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 <drepper@redhat.com>
Diffstat (limited to 'posix/Makefile')
-rw-r--r--posix/Makefile9
1 files changed, 7 insertions, 2 deletions
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 > $@