summaryrefslogtreecommitdiff
path: root/x2p
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-12-08 11:12:25 +0100
committerNicholas Clark <nick@ccl4.org>2011-12-09 17:09:51 +0100
commitc2e403ce41fd22d76714cfcbbe2be776a5c37c01 (patch)
tree28af05d56666498674e084a7c3b0331757e28a00 /x2p
parentf9293c5b9a0045314decf8aaed8943100c69b76e (diff)
downloadperl-c2e403ce41fd22d76714cfcbbe2be776a5c37c01.tar.gz
Remove commented-out "support" for perl's malloc with x2p.
In 1998 commit 30e2e4257067d5f8 stated temporarily disable perl malloc for a2p until we clean up conflicting malloc() declarations everywhere and nothing has changed since. 13 years later, no-one has reported problems, so it's safe to remove it.
Diffstat (limited to 'x2p')
-rwxr-xr-xx2p/Makefile.SH19
1 files changed, 4 insertions, 15 deletions
diff --git a/x2p/Makefile.SH b/x2p/Makefile.SH
index 800f583db3..1df26d5816 100755
--- a/x2p/Makefile.SH
+++ b/x2p/Makefile.SH
@@ -42,9 +42,6 @@ cat >Makefile <<!GROK!THIS!
CC = $cc
BYACC = $byacc
LDFLAGS = $ldflags
-# XXX Perl malloc temporarily unusable (declaration collisions with stdlib.h)
-#mallocsrc = $mallocsrc
-#mallocobj = $mallocobj
shellflags = $shellflags
libs = $perllibs
@@ -101,9 +98,9 @@ addedbyconf = $(shextract) $(plextract)
h = EXTERN.h INTERN.h ../config.h ../handy.h hash.h a2p.h str.h util.h
-c = hash.c $(mallocsrc) str.c util.c walk.c
+c = hash.c str.c util.c walk.c
-obj = hash$(OBJ_EXT) $(mallocobj) str$(OBJ_EXT) util$(OBJ_EXT) walk$(OBJ_EXT)
+obj = hash$(OBJ_EXT) str$(OBJ_EXT) util$(OBJ_EXT) walk$(OBJ_EXT)
lintflags = -phbvxac
@@ -156,7 +153,7 @@ distclean: veryclean
realclean: clean
-rmdir .depending
- rm -f core $(addedbyconf) all malloc.c
+ rm -f core $(addedbyconf) all
rm -f $(FIRSTMAKEFILE) $(FIRSTMAKEFILE).old makefile.old
veryclean: realclean
@@ -170,7 +167,7 @@ veryclean: realclean
lint:
lint $(lintflags) $(defs) $(c) > a2p.fuzz
-depend: $(mallocsrc) ../makedepend
+depend: ../makedepend
sh ../makedepend MAKE=$(MAKE)
clist:
@@ -189,14 +186,6 @@ find2perl: find2perl.PL ../config.sh
s2p: s2p.PL ../config.sh
-malloc.c: ../malloc.c
- rm -f malloc.c
- sed <../malloc.c >malloc.c \
- -e 's/"EXTERN.h"/"..\/EXTERN.h"/' \
- -e 's/"perl.h"/"..\/perl.h"/' \
- -e 's/my_exit/exit/' \
- -e 's/MUTEX_[A-Z_]*(&PL_malloc_mutex);//'
-
# AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE
$(obj):
@ echo "You haven't done a "'"make depend" yet!'; exit 1