[#37231] Announcing New Ruby Book Under Development! — <robert.calco@...>

Everybody:

31 messages 2002/04/02
[#37250] Re: [ANN] Announcing New Ruby Book Under Development! — "John" <jyeung@...> 2002/04/02

Have you checked out?

[#37279] About efficiency — Jean-Hugues ROBERT <jean_hugues_robert@...> 2002/04/02

[#37289] Re: About efficiency — nobu.nokada@... 2002/04/03

Hi,

[#37291] Re: About efficiency — Sean Middleditch <elanthis@...> 2002/04/03

On Tue, 2002-04-02 at 20:16, nobu.nokada@softhome.net wrote:

[#37232] seeking to understand... — Mark Probert <probertm@...>

38 messages 2002/04/02
[#37255] Re: Ruby, python, perl, ... — Chris <chris@...> 2002/04/02

In article <87d6xhaoif.fsf@jenny-gnome.dyndns.org>,

[#37281] Is eval a code/design smell? — "Chris Morris" <home@...>

I seem to have an inherent distaste for eval, but I don't know why. I've

51 messages 2002/04/03
[#37323] Re: Is eval a code/design smell? — Ron Jeffries <ronjeffries@...> 2002/04/03

On Wed, 03 Apr 2002 00:15:10 GMT, "Chris Morris" <home@clabs.org> wrote:

[#38034] Re: Is eval a code/design smell? — Ian Macdonald <ian@...> 2002/04/11

On Wed 03 Apr 2002 at 20:35:30 +0900, you wrote:

[#38045] Re: Is eval a code/design smell? — Sean Middleditch <elanthis@...> 2002/04/11

On Thu, 2002-04-11 at 01:40, Ian Macdonald wrote:

[#38061] Re: Is eval a code/design smell? — Ian Macdonald <ian@...> 2002/04/11

On Thu 11 Apr 2002 at 22:07:03 +0900, you wrote:

[#38063] Re: Is eval a code/design smell? — Sean Middleditch <elanthis@...> 2002/04/11

On Thu, 2002-04-11 at 12:06, Ian Macdonald wrote:

[#38064] Re: Is eval a code/design smell? — ts <decoux@...> 2002/04/11

>>>>> "S" == Sean Middleditch <elanthis@awesomeplay.com> writes:

[#38066] Re: Is eval a code/design smell? — Sean Middleditch <elanthis@...> 2002/04/11

On Thu, 2002-04-11 at 12:25, ts wrote:

[#38067] Re: Is eval a code/design smell? — ts <decoux@...> 2002/04/11

>>>>> "S" == Sean Middleditch <elanthis@awesomeplay.com> writes:

[#38068] Re: Is eval a code/design smell? — Sean Middleditch <elanthis@...> 2002/04/11

On Thu, 2002-04-11 at 12:42, ts wrote:

[#38069] Re: Is eval a code/design smell? — ts <decoux@...> 2002/04/11

>>>>> "S" == Sean Middleditch <elanthis@awesomeplay.com> writes:

[#38072] Re: Is eval a code/design smell? — Sean Middleditch <elanthis@...> 2002/04/11

On Thu, 2002-04-11 at 12:59, ts wrote:

[#37342] regular expression question — "Firestone, Mark - Technical Support" <mark.firestone@...>

Thanks for the help with the tread questions guys... I have one about (gasp)

16 messages 2002/04/03

[#37385] TextPad replacement for Linux? — Tobias Reif <tobiasreif@...>

TIA,

25 messages 2002/04/03

[#37397] Really new-new-newbie question :) — "Philip Mateescu" <philip@...>

Hi,

13 messages 2002/04/03

[#37454] ModRUBY question — George Moschovitis <gmosx@...>

Hi everybody,

18 messages 2002/04/04

[#37470] Test the result of an initialization ? — jayce@... (Jayce Piel)

17 messages 2002/04/04

[#37540] Fibonacci Number Generators — jzakiya@... (Jabari Zakiya)

Hi, I'm a newbie, coming to Ruby from a

14 messages 2002/04/04

[#37549] OO/Ruby Terminology — <james@...>

I added a wiki page for Ruby book development ...

22 messages 2002/04/05
[#37808] Re: OO/Ruby Terminology — <bbense+comp.lang.ruby.Apr.07.02@...> 2002/04/10

-----BEGIN PGP SIGNED MESSAGE-----

[#37861] RE: OO/Ruby Terminology — <james@...> 2002/04/10

> From: bbense+comp.lang.ruby.Apr.07.02@telemark.stanford.edu

[#37944] Re: OO/Ruby Terminology — Chris <chris@...> 2002/04/10

In article <PGEPJIFLPEPOHCKEEEIKIEFADCAA.james@rubyxml.com>,

[#37963] RE: OO/Ruby Terminology — <james@...> 2002/04/10

> From: Chris [mailto:chris@cmb-enterprises.com]

[#37617] Addition to file.c (File.extension) — Mike Hall <mghall@...>

18 messages 2002/04/05
[#37736] Re: Addition to file.c (File.extension) — matz@... (Yukihiro Matsumoto) 2002/04/08

Hi,

[#37653] Switching from PHP to Ruby - Comments Please — Jim Freeze <jim@...>

Hi:

34 messages 2002/04/06

[#37746] ruby-dev summary 16501-16750 — TAKAHASHI Masayoshi <maki@...>

Hi all,

17 messages 2002/04/08

[#37833] Ruby as replacement for VB? — "Robb Shecter" <rs@...>

Hi,

19 messages 2002/04/10
[#37923] Re: Ruby as replacement for VB? — Michael Davis <mdavis@...> 2002/04/10

Robb Shecter wrote:

[#39153] Re: Ruby as replacement for VB? — "Euan Mee" <xlucid@...> 2002/04/26

On 11 Apr 2002, at 1:03, Michael Davis wrote:

[#37835] crypting ruby source — Ludo <coquelle@...>

Hi,

32 messages 2002/04/10
[#38280] Re: crypting ruby source — web2ed@... (Edward Wilson) 2002/04/14

Ludo <coquelle@enib.fr> wrote in message news:<3CB31298.13A44B26@enib.fr>...

[#38044] RFC - class_added callback — Michal Rokos <m.rokos@...>

Hello,

16 messages 2002/04/11

[#38046] GetoptLong question — djberg96@... (Daniel Berger)

Hi all,

16 messages 2002/04/11
[#38051] Re: GetoptLong question — "Pit Capitain" <pit@...> 2002/04/11

On 11 Apr 2002, at 22:16, Daniel Berger wrote:

[#38101] How to Make a Method Ineffective Efficiently? — William Djaja Tjokroaminata <billtj@...>

Hi,

15 messages 2002/04/11
[#38135] Re: How to Make a Method Ineffective Efficiently? — Jean-Hugues ROBERT <jean_hugues_robert@...> 2002/04/12

Hello,

[#38159] Re: How to Make a Method Ineffective Efficiently? — William Djaja Tjokroaminata <billtj@...> 2002/04/12

Thanks for all the responses. I just want to add the final

[#38126] Ruby/Google — Ian Macdonald <ian@...>

Hi,

19 messages 2002/04/12

[#38136] Idea for a new shorthand — "Hal E. Fulton" <hal9000@...>

OK, maybe this is an idea no one will like. Or

17 messages 2002/04/12

[#38167] Why Object#class Is Inconsistent in "==" and "case"? — William Djaja Tjokroaminata <billtj@...>

Hi,

12 messages 2002/04/12

[#38199] not vs !, and vs && — <james@...>

I'm confused about the behavior of 'not'. The Pickaxe and Ruby21Days books

17 messages 2002/04/12

[#38238] Barnes & Noble putting on the squeeze — David Alan Black <dblack@...>

Hello --

11 messages 2002/04/13

[#38239] Freshmeat article about Ruby — Tobias DiPasquale <anany@...>

Hi all,

28 messages 2002/04/13
[#38447] Re: Freshmeat article about Ruby — Joel VanderWerf <vjoel@...> 2002/04/16

Tobias DiPasquale wrote:

[#38457] Re: Freshmeat article about Ruby — David Alan Black <dblack@...> 2002/04/16

Hi --

[#38560] Re: Freshmeat article about Ruby — Mark Hulme Jones <mjones@...> 2002/04/18

David Alan Black <dblack@candle.superlink.net> writes:

[#38561] Re: Freshmeat article about Ruby — Paul Brannan <pbrannan@...> 2002/04/18

On Fri, Apr 19, 2002 at 01:07:22AM +0900, Mark Hulme Jones wrote:

[#38562] Re: Freshmeat article about Ruby — Pat Eyler <pate@...> 2002/04/18

On Fri, 19 Apr 2002, Paul Brannan wrote:

[#38564] Re: Freshmeat article about Ruby — Jack Herrington <jack_d_herrington@...> 2002/04/18

On 4/18/02 9:30 AM, "Pat Eyler" <pate@eylerfamily.org> wrote:

[#38648] Ruby golf (FFT) Was: Freshmeat article about Ruby — Christian Szegedy <szegedy@...> 2002/04/19

Jack Herrington wrote:

[#38657] Re: Ruby golf (FFT) Was: Freshmeat article about Ruby — David Alan Black <dblack@...> 2002/04/19

Hello --

[#38331] mime type — Tobias Reif <tobiasreif@...>

Hi all,

15 messages 2002/04/15

[#38338] Compiling Ruby on Mac OS X — Alwyn <alwyn@...>

I've downloaded the latest Stable Snapshot and tried building it. It

18 messages 2002/04/15

[#38449] Help wanted for statvfs extension — djberg96@... (Daniel Berger)

Hi all,

35 messages 2002/04/16
[#38470] Re: Help wanted for statvfs extension — "James F.Hranicky" <jfh@...> 2002/04/17

On Wed, 17 Apr 2002 05:04:06 +0900

[#38525] resolv.rb Bug — "Roy J. Milican" <roy@...>

Greetings,

18 messages 2002/04/17

[#38627] Imlib2-Ruby 0.4.0 — Paul Duncan <pabs@...>

I just posted Imlib2-Ruby version 0.4.0, my Ruby bindings for Imlib2

12 messages 2002/04/19

[#38635] Threads creating threads creating threads... — Tobias Peters <tpeters@...>

I have already asked this question in [ruby-talk:19661], but I will ask it

12 messages 2002/04/19

[#38694] Ruby on .NET? — Ron Jeffries <ronjeffries@...>

I scanned the .net threads here and didn't see whether there is, or is not, an

37 messages 2002/04/19
[#38696] RE: Ruby on .NET? — "repeater" <repeater@...> 2002/04/19

recently found:

[#38839] building extensions-- new vs initialize — "Norman Makoto Su" <normsu@...>

Hi, I'm trying to build a ruby extension in C. While looking at the pickaxe CD

14 messages 2002/04/23

[#38910] Numberic#prev — Sean Chittenden <sean@...>

I do a lot of incrementing and decrementing of values: it'd be nice if

36 messages 2002/04/24

[#39047] A Wild Idea: What do you think? — Jim Freeze <jim@...>

Hi:

16 messages 2002/04/26

[#39122] RE: A Wild Idea: What do you think? — "Morris, Chris" <chris.morris@...>

> > OK, then let's have it in Texas. How about August? Oh, what do you

28 messages 2002/04/26
[#39123] Re: A Wild Idea: What do you think? — Jim Freeze <jim@...> 2002/04/26

On Sat, Apr 27, 2002 at 03:15:21AM +0900, Morris, Chris wrote:

[#39176] Re: A Wild Idea: What do you think? — Pat Eyler <pate@...> 2002/04/27

On Sat, 27 Apr 2002, Jim Freeze wrote:

[#39177] Re: A Wild Idea: What do you think? — David Alan Black <dblack@...> 2002/04/27

Hi --

[#39228] RubyConf.new(2002) - ideas for agenda — "Daniel Berger" <djberg96@...>

Ok - so I'm probably jumping the gun here, but hey, what the heck.

27 messages 2002/04/28

[#39394] ncurses, mingw32 — tony summerfelt <snowzone5@...>

i've been away from ruby for awhile, it was time to dust off the pickaxe book

13 messages 2002/04/30

[Patch] Make -Wall compilation happier

From: Michal Rokos <m.rokos@...>
Date: 2002-04-21 06:51:52 UTC
List: ruby-talk #38753
Hello,

	this patch is for making -Wall compilation more calm.

	Please check it.
	
		Michal


Index: array.c
===================================================================
RCS file: /src/ruby/array.c,v
retrieving revision 1.80
diff -u -r1.80 array.c
--- array.c	2002/04/18 08:46:17	1.80
+++ array.c	2002/04/19 15:37:39
@@ -207,13 +207,6 @@
     return rb_convert_type(ary, T_ARRAY, "Array", "to_ary");
 }
 
-static VALUE
-to_ary_failed(failed)
-    int *failed;
-{
-    *failed = Qtrue;
-}
-
 static VALUE rb_ary_replace _((VALUE, VALUE));
 
 static VALUE
Index: error.c
===================================================================
RCS file: /src/ruby/error.c,v
retrieving revision 1.42
diff -u -r1.42 error.c
--- error.c	2002/04/15 07:48:45	1.42
+++ error.c	2002/04/19 15:37:47
@@ -182,30 +182,30 @@
     int type;
     const char *name;
 } builtin_types[] = {
-    T_NIL,	"nil",
-    T_OBJECT,	"Object",
-    T_CLASS,	"Class",
-    T_ICLASS,	"iClass",	/* internal use: mixed-in module holder */
-    T_MODULE,	"Module",
-    T_FLOAT,	"Float",
-    T_STRING,	"String",
-    T_REGEXP,	"Regexp",
-    T_ARRAY,	"Array",
-    T_FIXNUM,	"Fixnum",
-    T_HASH,	"Hash",
-    T_STRUCT,	"Struct",
-    T_BIGNUM,	"Bignum",
-    T_FILE,	"File",
-    T_TRUE,	"true",
-    T_FALSE,	"false",
-    T_SYMBOL,	"Symbol",	/* :symbol */
-    T_DATA,	"Data",		/* internal use: wrapped C pointers */
-    T_MATCH,	"MatchData",	/* data of $~ */
-    T_VARMAP,	"Varmap",	/* internal use: dynamic variables */
-    T_SCOPE,	"Scope",	/* internal use: variable scope */
-    T_NODE,	"Node",		/* internal use: syntax tree node */
-    T_UNDEF,	"undef",	/* internal use: #undef; should not happen */
-    -1,		0,
+    {T_NIL,	"nil"},
+    {T_OBJECT,	"Object"},
+    {T_CLASS,	"Class"},
+    {T_ICLASS,	"iClass"},	/* internal use: mixed-in module holder */
+    {T_MODULE,	"Module"},
+    {T_FLOAT,	"Float"},
+    {T_STRING,	"String"},
+    {T_REGEXP,	"Regexp"},
+    {T_ARRAY,	"Array"},
+    {T_FIXNUM,	"Fixnum"},
+    {T_HASH,	"Hash"},
+    {T_STRUCT,	"Struct"},
+    {T_BIGNUM,	"Bignum"},
+    {T_FILE,	"File"},
+    {T_TRUE,	"true"},
+    {T_FALSE,	"false"},
+    {T_SYMBOL,	"Symbol"},	/* :symbol */
+    {T_DATA,	"Data"},	/* internal use: wrapped C pointers */
+    {T_MATCH,	"MatchData"},	/* data of $~ */
+    {T_VARMAP,	"Varmap"},	/* internal use: dynamic variables */
+    {T_SCOPE,	"Scope"},	/* internal use: variable scope */
+    {T_NODE,	"Node"},	/* internal use: syntax tree node */
+    {T_UNDEF,	"undef"},	/* internal use: #undef; should not happen */
+    {-1,	0}
 };
 
 void
Index: pack.c
===================================================================
RCS file: /src/ruby/pack.c,v
retrieving revision 1.35
diff -u -r1.35 pack.c
--- pack.c	2002/04/15 07:48:45	1.35
+++ pack.c	2002/04/19 15:39:44
@@ -1541,6 +1541,8 @@
 		static int first = 1;
 		static int b64_xtable[256];
 
+		a=b=c=d=0;	/* init */
+		
 		if (first) {
 		    int i;
 		    first = 0;
Index: parse.y
===================================================================
RCS file: /src/ruby/parse.y,v
retrieving revision 1.166
diff -u -r1.166 parse.y
--- parse.y	2002/04/19 04:14:07	1.166
+++ parse.y	2002/04/19 15:40:18
@@ -5203,46 +5203,46 @@
     ID token;
     char *name;
 } op_tbl[] = {
-    tDOT2,	"..",
-    tDOT3,	"...",
-    '+',	"+",
-    '-',	"-",
-    '+',	"+(binary)",
-    '-',	"-(binary)",
-    '*',	"*",
-    '/',	"/",
-    '%',	"%",
-    tPOW,	"**",
-    tUPLUS,	"+@",
-    tUMINUS,	"-@",
-    tUPLUS,	"+(unary)",
-    tUMINUS,	"-(unary)",
-    '|',	"|",
-    '^',	"^",
-    '&',	"&",
-    tCMP,	"<=>",
-    '>',	">",
-    tGEQ,	">=",
-    '<',	"<",
-    tLEQ,	"<=",
-    tEQ,	"==",
-    tEQQ,	"===",
-    tNEQ,	"!=",
-    tMATCH,	"=~",
-    tNMATCH,	"!~",
-    '!',	"!",
-    '~',	"~",
-    '!',	"!(unary)",
-    '~',	"~(unary)",
-    '!',	"!@",
-    '~',	"~@",
-    tAREF,	"[]",
-    tASET,	"[]=",
-    tLSHFT,	"<<",
-    tRSHFT,	">>",
-    tCOLON2,	"::",
-    '`',	"`",
-    0,		0,
+    {tDOT2,	".."},
+    {tDOT3,	"..."},
+    {'+',	"+"},
+    {'-',	"-"},
+    {'+',	"+(binary)"},
+    {'-',	"-(binary)"},
+    {'*',	"*"},
+    {'/',	"/"},
+    {'%',	"%"},
+    {tPOW,	"**"},
+    {tUPLUS,	"+@"},
+    {tUMINUS,	"-@"},
+    {tUPLUS,	"+(unary)"},
+    {tUMINUS,	"-(unary)"},
+    {'|',	"|"},
+    {'^',	"^"},
+    {'&',	"&"},
+    {tCMP,	"<=>"},
+    {'>',	">"},
+    {tGEQ,	">="},
+    {'<',	"<"},
+    {tLEQ,	"<="},
+    {tEQ,	"=="},
+    {tEQQ,	"==="},
+    {tNEQ,	"!="},
+    {tMATCH,	"=~"},
+    {tNMATCH,	"!~"},
+    {'!',	"!"},
+    {'~',	"~"},
+    {'!',	"!(unary)"},
+    {'~',	"~(unary)"},
+    {'!',	"!@"},
+    {'~',	"~@"},
+    {tAREF,	"[]"},
+    {tASET,	"[]="},
+    {tLSHFT,	"<<"},
+    {tRSHFT,	">>"},
+    {tCOLON2,	"::"},
+    {'`',	"`"},
+    {0,	0}
 };
 
 static st_table *sym_tbl;
Index: signal.c
===================================================================
RCS file: /src/ruby/signal.c,v
retrieving revision 1.32
diff -u -r1.32 signal.c
--- signal.c	2002/03/11 08:02:02	1.32
+++ signal.c	2002/04/19 15:40:22
@@ -34,139 +34,139 @@
     int  signo;
 } siglist [] = {
 #ifdef SIGHUP
-    "HUP", SIGHUP,
+    {"HUP", SIGHUP},
 #endif
 #ifdef SIGINT
-    "INT", SIGINT,
+    {"INT", SIGINT},
 #endif
 #ifdef SIGQUIT
-    "QUIT", SIGQUIT,
+    {"QUIT", SIGQUIT},
 #endif
 #ifdef SIGILL
-    "ILL", SIGILL,
+    {"ILL", SIGILL},
 #endif
 #ifdef SIGTRAP
-    "TRAP", SIGTRAP,
+    {"TRAP", SIGTRAP},
 #endif
 #ifdef SIGIOT
-    "IOT", SIGIOT,
+    {"IOT", SIGIOT},
 #endif
 #ifdef SIGABRT
-    "ABRT", SIGABRT,
+    {"ABRT", SIGABRT},
 #endif
 #ifdef SIGEMT
-    "EMT", SIGEMT,
+    {"EMT", SIGEMT},
 #endif
 #ifdef SIGFPE
-    "FPE", SIGFPE,
+    {"FPE", SIGFPE},
 #endif
 #ifdef SIGKILL
-    "KILL", SIGKILL,
+    {"KILL", SIGKILL},
 #endif
 #ifdef SIGBUS
-    "BUS", SIGBUS,
+    {"BUS", SIGBUS},
 #endif
 #ifdef SIGSEGV
-    "SEGV", SIGSEGV,
+    {"SEGV", SIGSEGV},
 #endif
 #ifdef SIGSYS
-    "SYS", SIGSYS,
+    {"SYS", SIGSYS},
 #endif
 #ifdef SIGPIPE
-    "PIPE", SIGPIPE,
+    {"PIPE", SIGPIPE},
 #endif
 #ifdef SIGALRM
-    "ALRM", SIGALRM,
+    {"ALRM", SIGALRM},
 #endif
 #ifdef SIGTERM
-    "TERM", SIGTERM,
+    {"TERM", SIGTERM},
 #endif
 #ifdef SIGURG
-    "URG", SIGURG,
+    {"URG", SIGURG},
 #endif
 #ifdef SIGSTOP
-    "STOP", SIGSTOP,
+    {"STOP", SIGSTOP},
 #endif
 #ifdef SIGTSTP
-    "TSTP", SIGTSTP,
+    {"TSTP", SIGTSTP},
 #endif
 #ifdef SIGCONT
-    "CONT", SIGCONT,
+    {"CONT", SIGCONT},
 #endif
 #ifdef SIGCHLD
-    "CHLD", SIGCHLD,
+    {"CHLD", SIGCHLD},
 #endif
 #ifdef SIGCLD
-    "CLD", SIGCLD,
+    {"CLD", SIGCLD},
 #else
 # ifdef SIGCHLD
-    "CLD", SIGCHLD,
+    {"CLD", SIGCHLD},
 # endif
 #endif
 #ifdef SIGTTIN
-    "TTIN", SIGTTIN,
+    {"TTIN", SIGTTIN},
 #endif
 #ifdef SIGTTOU
-    "TTOU", SIGTTOU,
+    {"TTOU", SIGTTOU},
 #endif
 #ifdef SIGIO
-    "IO", SIGIO,
+    {"IO", SIGIO},
 #endif
 #ifdef SIGXCPU
-    "XCPU", SIGXCPU,
+    {"XCPU", SIGXCPU},
 #endif
 #ifdef SIGXFSZ
-    "XFSZ", SIGXFSZ,
+    {"XFSZ", SIGXFSZ},
 #endif
 #ifdef SIGVTALRM
-    "VTALRM", SIGVTALRM,
+    {"VTALRM", SIGVTALRM},
 #endif
 #ifdef SIGPROF
-    "PROF", SIGPROF,
+    {"PROF", SIGPROF},
 #endif
 #ifdef SIGWINCH
-    "WINCH", SIGWINCH,
+    {"WINCH", SIGWINCH},
 #endif
 #ifdef SIGUSR1
-    "USR1", SIGUSR1,
+    {"USR1", SIGUSR1},
 #endif
 #ifdef SIGUSR2
-    "USR2", SIGUSR2,
+    {"USR2", SIGUSR2},
 #endif
 #ifdef SIGLOST
-    "LOST", SIGLOST,
+    {"LOST", SIGLOST},
 #endif
 #ifdef SIGMSG
-    "MSG", SIGMSG,
+    {"MSG", SIGMSG},
 #endif
 #ifdef SIGPWR
-    "PWR", SIGPWR,
+    {"PWR", SIGPWR},
 #endif
 #ifdef SIGPOLL
-    "POLL", SIGPOLL,
+    {"POLL", SIGPOLL},
 #endif
 #ifdef SIGDANGER
-    "DANGER", SIGDANGER,
+    {"DANGER", SIGDANGER},
 #endif
 #ifdef SIGMIGRATE
-    "MIGRATE", SIGMIGRATE,
+    {"MIGRATE", SIGMIGRATE},
 #endif
 #ifdef SIGPRE
-    "PRE", SIGPRE,
+    {"PRE", SIGPRE},
 #endif
 #ifdef SIGGRANT
-    "GRANT", SIGGRANT,
+    {"GRANT", SIGGRANT},
 #endif
 #ifdef SIGRETRACT
-    "RETRACT", SIGRETRACT,
+    {"RETRACT", SIGRETRACT},
 #endif
 #ifdef SIGSOUND
-    "SOUND", SIGSOUND,
+    {"SOUND", SIGSOUND},
 #endif
 #ifdef SIGINFO
-    "INFO", SIGINFO,
+    {"INFO", SIGINFO},
 #endif
-    NULL, 0,
+    {NULL, 0}
 };
 
 static int
@@ -481,7 +481,7 @@
 {
     sighandler_t func;
     VALUE command, old;
-    int sig;
+    int sig = -1;
     char *s;
 
     func = sighandler;
Index: time.c
===================================================================
RCS file: /src/ruby/time.c,v
retrieving revision 1.56
diff -u -r1.56 time.c
--- time.c	2002/04/18 08:46:18	1.56
+++ time.c	2002/04/19 15:40:48
@@ -1153,9 +1153,11 @@
     VALUE time;
 {
     struct time_object *tobj;
+#if !defined(HAVE_TM_ZONE) && (!defined(HAVE_TZNAME) || !defined(HAVE_DAYLIGHT))
     char buf[64];
     int len;
-
+#endif
+    
     GetTimeval(time, tobj);
     if (tobj->tm_got == 0) {
 	time_get_tm(time, tobj->gmt);

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Michal Rokos                         Czech Technical University, Prague
E-mail:m.rokos@sh.cvut.cz  ICQ:36118339  Jabber:majkl@jabber.sh.cvut.cz
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

In This Thread