[#807] Ruby 1.4.1 — Yukihiro Matsumoto <matz@...>
Ruby 1.4.1 is out, check out:
1 message
1999/09/16
[#808] Ruby 1.4.2 — Yukihiro Matsumoto <matz@...>
Ruby 1.4.2 is out, check out:
1 message
1999/09/16
[#816] My favorite language's icon turned into a sheep! — "Francois Le Coguiec" <francois_le_coguiec@...>
Weird!
6 messages
1999/09/27
[#826] feature request — Jonathan Aseltine <aseltine@...>
Hi,
8 messages
1999/09/29
[ruby-talk:00815] Re: [BUG] Segmentation fault (latest CVS)
From:
matz@... (Yukihiro Matsumoto)
Date:
1999-09-24 07:31:15 UTC
List:
ruby-talk #815
Hi,
In message "[ruby-talk:00814] [BUG] Segmentation fault (latest CVS)"
on 99/09/23, Jonathan Aseltine <aseltine@cs.umass.edu> writes:
|The following code will reproduce the bug:
|
|while gets
| $_.gsub!(/[^\w\s]/, " %& ")
| print $_
|end
Thank you for finding a bug! This patch will improve the situation
hopefully.
--- /tmp/regex.c Wed Sep 22 00:35:15 1999
+++ regex.c Fri Sep 24 16:25:59 1999
@@ -2877,7 +2877,7 @@
break;
}
for (j = 0,c = 0;j < (int)size; j++) {
- int cc = EXTRACT_MBC(&p[j*8]);
+ unsigned int cc = EXTRACT_MBC(&p[j*8]);
beg = WC2MBC1ST(cc);
while (c < beg) {
if (ismbchar(c))