summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2007-10-23 20:44:58 +0000
committerSteve Murphy <murf@digium.com>2007-10-23 20:44:58 +0000
commit50d5fd877eae82f9948521f99c20365ecafd0400 (patch)
treefbf2aee99061c74486a232b090f27ada7954a6be /main
parent8bf796ec101c3bb96814fcf470e146f971ae6c61 (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: https://origsvn.digium.com/svn/asterisk/trunk@86900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-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