[#1338] 1.8.0: possible socket problem with mswin32 builds — Jos Backus <jos@...>
Fyi: I tried the following command with two Ruby distributions on Windows 2003
5 messages
2003/08/05
[#1342] SEGV in GC under Linux — Dave Thomas <dave@...>
A while back I was getting double free()s reported on my MAC box when
5 messages
2003/08/05
[#1364] Broken REXML in Ruby 1.8 — Alexander Bokovoy <a.bokovoy@...>
Greetings!
1 message
2003/08/06
[#1378] differences between Module and Class ? — Mathieu Bouchard <matju@...>
25 messages
2003/08/11
[#1387] Re: differences between Module and Class ?
— matz@... (Yukihiro Matsumoto)
2003/08/12
Hi,
[#1442] Re: differences between Module and Class ?
— Mathieu Bouchard <matju@...>
2003/08/21
[#1452] Re: differences between Module and Class ?
— matz@... (Yukihiro Matsumoto)
2003/08/22
Hi,
[#1469] Re: differences between Module and Class ?
— Mathieu Bouchard <matju@...>
2003/08/23
[#1470] Re: differences between Module and Class ?
— matz@... (Yukihiro Matsumoto)
2003/08/24
Hi,
[#1472] Re: differences between Module and Class ?
— Mathieu Bouchard <matju@...>
2003/08/24
[#1444] Re: differences between Module and Class ?
— ts <decoux@...>
2003/08/21
>>>>> "M" == Mathieu Bouchard <matju@sympatico.ca> writes:
[#1381] proc/block with return — Mathieu Bouchard <matju@...>
9 messages
2003/08/11
[#1394] Std lib and updating PickAxe (was Re: proc/block with return) — "Gavin Sinclair" <gsinclair@...>
> [Dave wrote:]
5 messages
2003/08/13
[#1400] subclassing Structs — Eugene Scripnik <Eugene.Scripnik@...>
I'm trying to create class which behaves as struct (almost) and has some
5 messages
2003/08/13
[#1406] _id2ref bug? — Ryan Pavlik <rpav@...>
While debugging some caching code, I've come across a segfault related
22 messages
2003/08/14
[#1407] Re: _id2ref bug?
— matz@... (Yukihiro Matsumoto)
2003/08/14
Hi,
[#1413] Re: _id2ref bug? (REPRODUCED, short)
— Ryan Pavlik <rpav@...>
2003/08/14
On Fri, 15 Aug 2003 01:57:18 +0900
[#1415] Re: _id2ref bug? (REPRODUCED, short)
— matz@... (Yukihiro Matsumoto)
2003/08/15
Hi,
[#1416] Re: _id2ref bug? (another break)
— Ryan Pavlik <rpav@...>
2003/08/15
On Fri, 15 Aug 2003 09:21:39 +0900
[#1417] Re: _id2ref bug? (another break)
— nobu.nokada@...
2003/08/15
Hi,
[#1418] Re: _id2ref bug? (another break)
— Ryan Pavlik <rpav@...>
2003/08/15
On Fri, 15 Aug 2003 12:35:32 +0900
[#1424] Re: _id2ref bug? (another break)
— ts <decoux@...>
2003/08/15
>>>>> "n" == nobu nokada <nobu.nokada@softhome.net> writes:
[#1447] ruby-mode.el — Ryan Pavlik <rpav@...>
Attached is a patch for ruby-mode.el that adds font hilighting for
7 messages
2003/08/21
[#1450] Re: [PATCH] ruby-mode.el
— Ryan Pavlik <rpav@...>
2003/08/21
Crud, my mail has been slow, and I just got this back, but I realize I
[#1454] NODE_DSTR and NODE_EVSTR? — Robert Feldt <feldt@...>
How are "dynamic" strings represented internally?
7 messages
2003/08/22
-Wall cleanup project
From:
Daniel Berger <djberg96@...>
Date:
2003-08-02 21:01:21 UTC
List:
ruby-core #1330
Hi all,
Here are my "patches" to Preview 7 to help cleanup the
-Wall warnings for Suse Linux 8.0 with gcc 3.2. Note
that the largest offender is eval.c, which often
complains with this warning:
"variable `some_var' might be clobbered by `longjmp'
or `vfork'"
I tried declaring some of these as volatile just to
see what would happen but that seemed to cause more
problems.
Also, see some comments at the end.
# diff bignum.c ../ruby-1.8.0/bignum.c
451c451
< while ((c = *str++)) {
---
> while (c = *str++) {
# diff dir.c ../ruby-1.8.0/dir.c
155c155
< while ((c = *pat++)) {
---
> while (c = *pat++) {
# diff eval.c ../ruby-1.8.0/eval.c
1098c1098
< if ((tail = memchr(einfo, '\n', elen))) {
---
> if (tail = memchr(einfo, '\n', elen)) {
1449c1449
< volatile VALUE result = Qnil;
---
> VALUE result; /* OK */
1585c1585
< VALUE val = Qnil;
---
> VALUE val; /* OK */
1630c1630
< VALUE val = Qnil;
---
> VALUE val; /* OK */
3660c3660
< VALUE result = Qnil;
---
> VALUE result; /* OK */
4500c4500
< while ((eclass = va_arg(args, VALUE))) {
---
> while (eclass = va_arg(args, VALUE)) {
4597c4597
< VALUE result = Qnil;
---
> VALUE result; /* OK */
5555c5555
< VALUE val = Qnil;
---
> VALUE val; /* OK */
7413c7413
< VALUE result = Qnil;
---
> VALUE result; /* OK */
7959c7959
< VALUE val = Qnil;
---
> VALUE val; /* OK */
10063c10063
< VALUE val = Qnil;
---
> VALUE val; /* OK */
linux:/usr/local/src/ruby-1.8.0nowarn #
# diff marshal.c ../ruby-1.8.0/marshal.c
478c478
< if ((ivtbl = rb_generic_ivar_table(obj))) {
---
> if (ivtbl = rb_generic_ivar_table(obj)) {
# diff process.c ../ruby-1.8.0/process.c
626,627c626,627
< if ((*a++ = strtok(ss, " \t"))) {
< while ((t = strtok(NULL, " \t"))) {
---
> if (*a++ = strtok(ss, " \t")) {
> while (t = strtok(NULL, " \t")) {
# diff re.c ../ruby-1.8.0/re.c
82c82
< if ((tmp = casetable[(unsigned)*p1++] -
casetable[(unsigned)*p2++]))
---
> if (tmp = casetable[(unsigned)*p1++] -
casetable[(unsigned)*p2++])
# diff ruby.c ../ruby-1.8.0/ruby.c
195c195
< if ((s = strchr(p, sep))) {
---
> if (s = strchr(p, sep)) {
385c385
< if ((p = strchr(s, '='))) {
---
> if (p = strchr(s, '=')) {
834c834
< if ((p =
strstr(RSTRING(line)->ptr, "ruby"))) {
---
> if (p = strstr(RSTRING(line)->ptr,
"ruby")) {
886c886
< if ((p = strstr(p, " -"))) {
---
> if (p = strstr(p, " -")) {
# diff struct.c ../ruby-1.8.0/struct.c
217c217
< while ((mem = va_arg(ar, char*))) {
---
> while (mem = va_arg(ar, char*)) {
Other notes
===========
The process.c file still gives me these warnings:
process.c: In function `rb_syswait':
process.c:840: warning: `hfunc' might be used
uninitialized in this function
process.c:840: warning: `qfunc' might be used
uninitialized in this function
process.c:840: warning: `ifunc' might be used
uninitialized in this function
process.c: In function `proc_getpgid':
process.c:1081: warning: implicit declaration of
function `getpgid'
process.c: In function `p_sys_setresuid':
process.c:1236: warning: implicit declaration of
function `setresuid'
process.c: In function `p_sys_setresgid':
process.c:1471: warning: implicit declaration of
function `setresgid'
I am not sure why it's giving me "implicit
declaration" warnings when it appears that unistd.h is
being included at the top of the header. Could
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
be failing somehow? The config log seems to indicate
that unistd.h was detected, so I don't see why it
should be failing.
Other warnings:
===============
parse.y:4443: warning: `nodeline' defined but not used
regex.c:2572: warning: `insert_op' defined but not
used
regex.c:1000: warning: `print_compiled_pattern'
defined but not used
Can we remove these functions?
That's all for now.
Regards,
Dan
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com