diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-02-25 20:34:07 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-02-25 11:46:56 +0100 |
commit | 80e23c68d83a7c9989f87d5a88a78bb76d222afc (patch) | |
tree | 534af1ca02724866bcf651b8f651c0bbde300220 /source4/heimdal/lib/com_err/parse.c | |
parent | 22c407d8bd01d98498c1960b58b5d49d8dda8899 (diff) | |
download | samba-80e23c68d83a7c9989f87d5a88a78bb76d222afc.tar.gz samba-80e23c68d83a7c9989f87d5a88a78bb76d222afc.tar.bz2 samba-80e23c68d83a7c9989f87d5a88a78bb76d222afc.zip |
heimdal_build omit #line statments to allow valgrind to work again
The lex/yacc files were generated on Fedora 14, and have empty
filenames in #line declarations. I don't know why this is, but it
seems best just to omit the #line statements.
This is what was causing Valgrind on Fedora not to run on Samba
binaries and programs linked to Samba libraries.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Feb 25 11:46:56 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/heimdal/lib/com_err/parse.c')
-rw-r--r-- | source4/heimdal/lib/com_err/parse.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/source4/heimdal/lib/com_err/parse.c b/source4/heimdal/lib/com_err/parse.c index a97c56f0b2..15e9f656f2 100644 --- a/source4/heimdal/lib/com_err/parse.c +++ b/source4/heimdal/lib/com_err/parse.c @@ -31,7 +31,6 @@ static const char yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93"; extern int YYPARSE_DECL(); -#line 2 "" /* * Copyright (c) 1998 - 2000 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). @@ -82,12 +81,10 @@ extern char *yytext; #define YYMALLOC malloc #define YYFREE free -#line 54 "" typedef union { char *string; int number; } YYSTYPE; -#line 90 "" #define ET 257 #define INDEX 258 #define PREFIX 259 @@ -261,7 +258,6 @@ YYSTYPE yylval; /* variables for the parser stack */ static YYSTACKDATA yystack; -#line 144 "" static long name2number(const char *str) @@ -293,7 +289,6 @@ yyerror (char *s) { _lex_error_message ("%s\n", s); } -#line 296 "" /* allocate initial stack or double stack size, up to YYMAXDEPTH */ static int yygrowstack(YYSTACKDATA *data) { @@ -496,13 +491,11 @@ yyreduce: switch (yyn) { case 5: -#line 74 "" { id_str = yystack.l_mark[0].string; } break; case 6: -#line 80 "" { base_id = name2number(yystack.l_mark[0].string); strlcpy(name, yystack.l_mark[0].string, sizeof(name)); @@ -510,7 +503,6 @@ case 6: } break; case 7: -#line 86 "" { base_id = name2number(yystack.l_mark[-1].string); strlcpy(name, yystack.l_mark[0].string, sizeof(name)); @@ -519,13 +511,11 @@ case 7: } break; case 10: -#line 99 "" { number = yystack.l_mark[0].number; } break; case 11: -#line 103 "" { free(prefix); asprintf (&prefix, "%s_", yystack.l_mark[0].string); @@ -535,7 +525,6 @@ case 11: } break; case 12: -#line 111 "" { prefix = realloc(prefix, 1); if (prefix == NULL) @@ -544,7 +533,6 @@ case 12: } break; case 13: -#line 118 "" { struct error_code *ec = malloc(sizeof(*ec)); @@ -566,12 +554,10 @@ case 13: } break; case 14: -#line 138 "" { YYACCEPT; } break; -#line 574 "" } yystack.s_mark -= yym; yystate = *yystack.s_mark; |