[#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: ts <decoux@...>
Date: 2006-04-03 08:58:15 UTC
List: ruby-core #7666
>>>>> "t" == ts  <decoux@moulon.inra.fr> writes:

t>  Well, with a very, very old yacc (Sun)

 byacc has the same problem

moulon% byacc a.y
moulon%

moulon% more y.tab.c 
[...]
#define YYPREFIX "yy"
#define DIGIT 257
#define digit 258
#define YYERRCODE 256
[...]
moulon%

 and it compile 1.8.4

moulon% make
gcc -g -O2  -DRUBY_EXPORT  -I. -I.  -c array.c
[...]
byacc parse.y
sed '/^#/s|y\.tab\.c|parse.c|' y.tab.c > parse.c
rm -f y.tab.c
gcc -g -O2  -DRUBY_EXPORT  -I. -I.  -c parse.c
[...]
make[1]: Entering directory `/i/home/msys/decoux/ruby/ruby-1.8.4'
gcc -g -O2  -DRUBY_EXPORT   -rdynamic -Wl,-export-dynamic -L.   main.o  -lruby-static -ldl -lcrypt -lm   -o ruby
make[1]: Leaving directory `/i/home/msys/decoux/ruby/ruby-1.8.4'
moulon%



Guy Decoux

In This Thread