Skip to content

Commit f18d8c5

Browse files
author
matz
committed
matz - irb (PR#46)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_4@847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 263e95e commit f18d8c5

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ Mon Jul 24 18:52:55 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
44

55
* ruby.c (rubylib_mangle): support "/hoge;/foo"
66

7+
Mon Jul 24 10:28:55 2000 GOTO Kentaro <gotoken@math.sci.hokudai.ac.jp>
8+
9+
* string.c (rb_str_count): raise exception if no argument is
10+
given.
11+
712
Sun Jul 23 12:55:04 2000 Dave Thomas <Dave@Thomases.com>
813

914
* string.c (rb_str_rindex): Support negative end position.

ext/Setup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#md5
1010
#pty
1111
#sdbm
12-
#socket
12+
socket
1313
#tkutil
1414
#tcltklib
1515
#gtk

string.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1966,7 +1966,7 @@ rb_str_count(argc, argv, str)
19661966
int init = 1;
19671967
int i;
19681968

1969-
if (argc < 0) {
1969+
if (argc < 1) {
19701970
rb_raise(rb_eArgError, "wrong # of arguments");
19711971
}
19721972
for (i=0; i<argc; i++) {

0 commit comments

Comments
 (0)