Merged revisions 86881 via svnmerge from
authorSteve Murphy <murf@digium.com>
Tue, 23 Oct 2007 20:44:58 +0000 (20:44 +0000)
committerSteve Murphy <murf@digium.com>
Tue, 23 Oct 2007 20:44:58 +0000 (20:44 +0000)
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

main/Makefile

index ace2c81..b91be6c 100644 (file)
@@ -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