diff options
author | Milan Crha <mcrha@redhat.com> | 2011-02-25 11:38:04 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-02-25 12:39:20 +0100 |
commit | ea9f72c0c5dc2b8271b66c11d477c09cc303969d (patch) | |
tree | d6a0865c11ef987c200bf2715904643b4aa330df /source4/heimdal_build | |
parent | 68c61a829b8487104483b23052b54c532fecb6ce (diff) | |
download | samba-ea9f72c0c5dc2b8271b66c11d477c09cc303969d.tar.gz samba-ea9f72c0c5dc2b8271b66c11d477c09cc303969d.tar.bz2 samba-ea9f72c0c5dc2b8271b66c11d477c09cc303969d.zip |
s4:heimdal - fix valgrind issue on Fedora 14
This should definitely fix bug #7858.
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Feb 25 12:39:21 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/heimdal_build')
-rwxr-xr-x | source4/heimdal_build/lexyacc.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/heimdal_build/lexyacc.sh b/source4/heimdal_build/lexyacc.sh index cee21668e5..eb6314ad96 100755 --- a/source4/heimdal_build/lexyacc.sh +++ b/source4/heimdal_build/lexyacc.sh @@ -28,16 +28,16 @@ call_lex() { if [ -r lex.yy.c ]; then echo "#include \"config.h\"" > $base.c - sed -e "s|lex\.yy\.c|$DEST|" lex.yy.c >> $base.c + sed -e "s|lex\.yy\.c|$cfile|" lex.yy.c >> $base.c rm -f $base.yy.c elif [ -r $base.yy.c ]; then echo "#include \"config.h\"" > $base.c - sed -e "s|$base\.yy\.c|$DEST|" $base.yy.c >> $base.c + sed -e "s|$base\.yy\.c|$cfile|" $base.yy.c >> $base.c rm -f $base.yy.c elif [ -r $base.c ]; then mv $base.c $base.c.tmp echo "#include \"config.h\"" > $base.c - sed -e "s|$base\.yy\.c|$DEST|" $base.c.tmp >> $base.c + sed -e "s|$base\.yy\.c|$cfile|" $base.c.tmp >> $base.c rm -f $base.c.tmp elif [ ! -r base.c ]; then echo "$base.c nor $base.yy.c nor lex.yy.c generated." @@ -61,8 +61,8 @@ call_yacc() { $YACC -d $yfile || exit 1 if [ -r y.tab.h -a -r y.tab.c ];then - sed -e "/^#/!b" -e "s|y\.tab\.h|$SRC|" -e "s|\"$base.y|\"$SRC|" y.tab.h > $base.h - sed -e "s|y\.tab\.c|$SRC|" -e "s|\"$base.y|\"$SRC|" y.tab.c > $base.c + sed -e "/^#/!b" -e "s|y\.tab\.h|$cfile|" -e "s|\"$base.y|\"$cfile|" y.tab.h > $base.h + sed -e "s|y\.tab\.c|$cfile|" -e "s|\"$base.y|\"$cfile|" y.tab.c > $base.c rm -f y.tab.c y.tab.h elif [ ! -r $base.h -a ! -r $base.c]; then echo "$base.h nor $base.c generated." |