aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-23 20:44:58 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-23 20:44:58 +0000
commit4d0fc8b4d54add1d39b2b28a24c699a8b4449749 (patch)
treefbf2aee99061c74486a232b090f27ada7954a6be
parente7eeedfe909bec32926b5d5b383778bbfa93173b (diff)
Merged revisions 86881 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r86881 | murf | 2007-10-23 14:22:25 -0600 (Tue, 23 Oct 2007) | 1 line this update to Makefile corrects how ast_expr2f.c should be generated ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86900 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--main/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/Makefile b/main/Makefile
index ace2c813b..b91be6cdc 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -115,6 +115,8 @@ ast_expr2.c ast_expr2.h:
ast_expr2f.c:
flex -o $@ --full ast_expr2.fl
+ sed 's@free( (char \*) ptr );@if(ptr) free( (char *) ptr );@' ast_expr2f.c > zz
+ mv zz ast_expr2f.c
testexpr2: ast_expr2f.c ast_expr2.c ast_expr2.h
$(CC) -g -c -Iinclude -DSTANDALONE ast_expr2f.c