[#7708] Bug in libsnmp-ruby1.8 — Hadmut Danisch <hadmut@...>

Hi,

8 messages 2006/04/11
[#7709] Re: Bug in libsnmp-ruby1.8 — Eric Hodel <drbrain@...7.net> 2006/04/11

On Apr 11, 2006, at 6:23 AM, Hadmut Danisch wrote:

[#7770] Re: possible defect in array.c — "Brown, Warren" <warrenbrown@...>

> rb_range_beg_len (in range.c) does set beg and len.

13 messages 2006/04/26
[#7771] Re: possible defect in array.c — "Pat Eyler" <rubypate@...> 2006/04/26

On 4/26/06, Brown, Warren <warrenbrown@aquire.com> wrote:

Re: [PATCH] parse.y: literal strings for tokens

From: Robin Stocker <robin@...>
Date: 2006-04-09 11:05:17 UTC
List: ruby-core #7695
nobu@ruby-lang.org wrote:
> Hi,
> 
> At Sun, 9 Apr 2006 01:51:38 +0900,
> Robin Stocker wrote in [ruby-core:07688]:
>> +ifeq ($(firstword $(YACC)), bison)
>> +	cp $< $<.tmp
>> +else
>> +# If we don't have a bison yacc, strip the literal strings
>> +	sed '/^%token/ s|"[^"]*"||' $< > $<.tmp	
>> +endif
> 
> This depends on GNU make?

I had a look at the manual and it is indeed listed as an invention of 
GNU make, see "Conditional execution" here:
http://www.gnu.org/software/make/manual/html_node/Features.html

What if it is replaced with this?:
   cp $< $<.tmp
   echo $(YACC) | grep -q bison || sed '/^%token/ s|"[^"]*"||' $< > $<.tmp

Regards,
   Robin

In This Thread