From 80e23c68d83a7c9989f87d5a88a78bb76d222afc Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 25 Feb 2011 20:34:07 +1100 Subject: 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 Autobuild-Date: Fri Feb 25 11:46:56 CET 2011 on sn-devel-104 --- source4/heimdal/lib/hx509/sel-lex.c | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'source4/heimdal/lib/hx509/sel-lex.c') diff --git a/source4/heimdal/lib/hx509/sel-lex.c b/source4/heimdal/lib/hx509/sel-lex.c index 703747217f..e0efbf4e58 100644 --- a/source4/heimdal/lib/hx509/sel-lex.c +++ b/source4/heimdal/lib/hx509/sel-lex.c @@ -468,8 +468,6 @@ int yy_flex_debug = 0; #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; -#line 1 "sel-lex.l" -#line 2 "sel-lex.l" /* * Copyright (c) 2004, 2008 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). @@ -535,8 +533,6 @@ struct hx_expr_input _hx509_expr_input; #undef ECHO -#line 538 "" - #define INITIAL 0 #ifndef YY_NO_UNISTD_H @@ -717,11 +713,6 @@ YY_DECL register char *yy_cp, *yy_bp; register int yy_act; -#line 68 "sel-lex.l" - - -#line 723 "" - if ( !(yy_init) ) { (yy_init) = 1; @@ -805,37 +796,30 @@ do_action: /* This label is used only to access EOF actions. */ case 1: YY_RULE_SETUP -#line 70 "sel-lex.l" { return kw_TRUE; } YY_BREAK case 2: YY_RULE_SETUP -#line 71 "sel-lex.l" { return kw_FALSE; } YY_BREAK case 3: YY_RULE_SETUP -#line 72 "sel-lex.l" { return kw_AND; } YY_BREAK case 4: YY_RULE_SETUP -#line 73 "sel-lex.l" { return kw_OR; } YY_BREAK case 5: YY_RULE_SETUP -#line 74 "sel-lex.l" { return kw_IN; } YY_BREAK case 6: YY_RULE_SETUP -#line 75 "sel-lex.l" { return kw_TAILMATCH; } YY_BREAK case 7: YY_RULE_SETUP -#line 77 "sel-lex.l" { yylval.string = strdup ((const char *)yytext); return IDENTIFIER; @@ -843,31 +827,25 @@ YY_RULE_SETUP YY_BREAK case 8: YY_RULE_SETUP -#line 81 "sel-lex.l" { yylval.string = handle_string(); return STRING; } YY_BREAK case 9: /* rule 9 can match eol */ YY_RULE_SETUP -#line 82 "sel-lex.l" { ++lineno; } YY_BREAK case 10: YY_RULE_SETUP -#line 83 "sel-lex.l" { return *yytext; } YY_BREAK case 11: YY_RULE_SETUP -#line 84 "sel-lex.l" ; YY_BREAK case 12: YY_RULE_SETUP -#line 85 "sel-lex.l" ECHO; YY_BREAK -#line 870 "" case YY_STATE_EOF(INITIAL): yyterminate(); @@ -1865,10 +1843,6 @@ void yyfree (void * ptr ) #define YYTABLES_NAME "yytables" -#line 85 "sel-lex.l" - - - static char * handle_string(void) { -- cgit