public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Peng Haitao <penght@cn.fujitsu.com>
To: Garrett Cooper <yanegomi@gmail.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH] Fix a building error.
Date: Fri, 28 Jan 2011 16:24:18 +0800	[thread overview]
Message-ID: <4D427D32.8020801@cn.fujitsu.com> (raw)
In-Reply-To: <4D3017F9.7060307@cn.fujitsu.com>

Hi Garrett,

  Would you like to apply this patch? 

  "%option nolex-compat" make the global variable "yylineno" undeclared, 
this will result in build error in RHEL4.8 and RHEL5.5.

  The environments are as follows:
  - RHEL4.8 --- x86_64
  - flex    --- version 2.5.4

  - RHEL5.5 --- (x86, x86_64, ia64)
  - flex    --- version 2.5.4


Peng Haitao said the following on 2011-1-14 17:31:
> Hi Garrett,
> 
> Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
> ---
>  pan/scan.l |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/pan/scan.l b/pan/scan.l
> index 9696531..cc47bdf 100644
> --- a/pan/scan.l
> +++ b/pan/scan.l
> @@ -91,6 +91,7 @@ static int check_mode(int, int, ...);
>  %option noinput
>  %option nolex-compat
>  %option nounput
> +%option yylineno
>  
>  UI      [0-9]+
>  A       [a-zA-Z]+

-- 
Best Regards,
Peng Haitao


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  reply	other threads:[~2011-01-28  8:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-14  9:31 [LTP] [PATCH] Fix a building error Peng Haitao
2011-01-28  8:24 ` Peng Haitao [this message]
2011-02-14  9:45   ` Peng Haitao
  -- strict thread matches above, loose matches on Subject: below --
2011-01-14  9:48 Peng Haitao
2011-01-14 12:58 ` Cyril Hrubis
2011-01-14 21:24 ` Mike Frysinger
2011-01-14 21:33   ` Garrett Cooper
2011-01-14 21:46     ` Mike Frysinger
2011-01-14 21:52       ` Garrett Cooper
2011-01-14 22:12         ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D427D32.8020801@cn.fujitsu.com \
    --to=penght@cn.fujitsu.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=yanegomi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox