On 25/10/13 16:19, Ivana Hutarova Varekova wrote: > This patch enables to have "@" sign in cgroup name in cgconfig.conf as > well. > > > Signed-off-by: Ivana Hutarova Varekova <varek...@redhat.com> Acked-by: Peter Schiffer <pschi...@redhat.com> > --- > > src/lex.l | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/lex.l b/src/lex.l > index d41d9ed..1b357db 100644 > --- a/src/lex.l > +++ b/src/lex.l > @@ -43,7 +43,7 @@ jmp_buf parser_error_env; > "namespace" {return NAMESPACE;} > "template" {return TEMPLATE;} > "default" {return DEFAULT;} > -[a-zA-Z0-9_\-\/\.\,\%]+ {yylval.name = strdup(yytext); return ID;} > +[a-zA-Z0-9_\-\/\.\,\%\@]+ {yylval.name = strdup(yytext); return ID;} > \"[^"]*\" {yylval.name = strdup(yytext+1); > yylval.name[strlen(yylval.name)-1] = '\0'; return ID; } > . {return yytext[0];} > %% > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk > _______________________________________________ > Libcg-devel mailing list > Libcg-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/libcg-devel >
------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel