nobu
afc6ad0561
* regex.c (re_match):
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-02 16:56:16 +00:00
nobu
3ff112ae07
2003-01-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-02 02:01:38 +00:00
nobu
ed506c07d1
* eval.c (bmcall): arguments should be an array.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-02 02:01:25 +00:00
matz
4d676cf76f
* process.c (rb_proc_times): avoid WindowsXP crash using volatile
...
variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-01 10:49:14 +00:00
eban
a3c545a7bc
add djgpp/GNUmakefile
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-01 10:05:46 +00:00
eban
1361e7d0ca
* configure.in: better DJGPP support. add GNUmakefile.
...
* djgpp/GNUmakefile: new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-01 09:26:45 +00:00
matz
b6c63738b2
* eval.c (massign): removed awkward conversion between yvalue,
...
mvalue, etc.
* eval.c (rb_yield_0): new parameter added to tell whether val is
an array value or not.
* parse.y (yield_args): restructuring: new nodes: NODE_RESTARY2,
NODE_SVALUE; removed node: NODE_RESTARGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-01 03:40:01 +00:00
matz
0082edfd3d
* eval.c (massign): removed awkward conversion between yvalue,
...
mvalue, etc.
* eval.c (rb_yield_0): new parameter added to tell whether val is
an array value or not.
* parse.y (yield_args): restructuring: new nodes: NODE_RESTARY2,
NODE_SVALUE; removed node: NODE_RESTARGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-01 03:24:29 +00:00
knu
2a54402839
Really cvs rm these files from HEAD.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-31 21:01:40 +00:00
knu
c56fa0649d
Fix one more.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-31 19:43:29 +00:00
knu
709b837811
Fix typos.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-31 19:38:42 +00:00
knu
59e61e038a
2003-01-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-31 19:25:48 +00:00
knu
d0588e9822
* node.h (struct RNode): Change argc from int to long. Otherwize
...
NEW_CFUNC() sets argc to a wrong value on platforms where
sizeof(int) != sizeof(long) and the byte order is big-endian.
This fixes breakage on FreeBSD/sparc64.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-31 19:24:29 +00:00
eban
5ec897d306
* wrong regexp.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-31 13:22:46 +00:00
eban
86c90aea36
* Makefile.in, {win32,bcc32}/Makefile.sub: add new target:
...
what-where, no-install.
* mkconfig.rb: add const: CROSS_COMPILING.
* ext/extmk.rb: no-install support. add MAKEDIRS macro.
* lib/mkmf.rb: add !ifdef .. !endif for Borland make.
* process.c: improve DJGPP support. system "ls", "-l".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-31 12:31:12 +00:00
knu
b8ad2fa064
Fix typos.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-31 11:47:29 +00:00
matz
7ca084da85
* gc.c (rb_gc_mark_frame): should mark frame->node.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-31 11:44:29 +00:00
knu
b491d7a64f
* ext/socket/addrinfo.h (NI_MAXHOST): Define NI_MAXHOST and
...
NI_MAXHOST only if they are not defined yet. This fixes build
such platforms as OpenBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-31 11:17:40 +00:00
knu
b18e1a0b4a
* ext/tcltklib/extconf.rb (find_tcl, find_tk): Look for both
...
lib{tcl,tk}M.N and lib{tcl,tk}MN on all platforms. *BSD have
Tcl/Tk libraries named this way.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-31 11:13:44 +00:00
knu
969bb67169
* configure.in: Improve OpenBSD support. [obtained from: OpenBSD
...
ports]
* dln.c (FUNCNAME_PATTERN): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-31 10:53:14 +00:00
knu
653b0c120f
* array.c (rb_ary_transpose): Properly declare ary as a VALUE.
...
* file.c (rb_file_s_chmod): Do not directly cast an int to void *
to avoid a warning.
* defines.h (FLUSH_REGISTER_WINDOWS): Add support for
FreeBSD/sparc64. miniruby still coredumps in a different place,
though.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-31 10:28:52 +00:00
nobu
559ca6258a
* parse.y (parse_string): readjusted.
...
* parse.y (heredoc_identifier): readjusted.
* parse.y (here_document): make EOL codes of single-quoted
here-documents consistent.
* parse.y (yylex): reduced unnecessary conditionals.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-30 22:56:21 +00:00
knu
378a6bdea5
mdoc'ify.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-30 19:56:06 +00:00
eban
c2e3d3971b
* parse.y (yylex): do not accept " __END__\n". ([ruby-dev:19245])
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-30 18:19:08 +00:00
eban
67a7c34524
* typofix
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-30 12:23:11 +00:00
eban
71da1d91b0
* parse.y (yylex): use strncmp instead of strcmp.
...
accept "__END__\r\n". ([ruby-dev:19241])
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-30 12:17:41 +00:00
nobu
fb0b931709
* ext/extmk.rb: split --make argument contains options, assume
...
the first word of --make-flags is always options even unless
preceeded by -, and ignore letter-case of options if nmake.
* instruby.rb: extract -n option also from --make and
--make-flags.
* bcc32/Makefile.sub, win32/Makefile.sub: not prepend - to
$(MFLAGS)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-30 10:16:53 +00:00
nobu
20d146389c
2002-12-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-30 07:57:25 +00:00
nobu
c39a8e326a
* string.c (rb_str_substr): should share the shared string if
...
present, instead of the original string. (ruby-bugs:PR#528)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-30 07:55:17 +00:00
nobu
3d2ddca6b2
* ext/socket/socket.c (tcp_svr_init): local host to
...
init_inetsock() is VALUE but not pointer.
* ext/socket/socket.c (sock_s_unpack_sockaddr_in): get rid of
gcc-3 -O3 warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-29 20:14:51 +00:00
nobu
f0371138ee
* file.c (rb_file_s_chmod): get rid of gcc-3 -O3 warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-29 18:14:22 +00:00
nobu
6189cefb40
2002-12-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-29 14:52:02 +00:00
nobu
05b990b7c1
* gc.c (gc_sweep): adjust GC trigger.
...
* dln.c (init_funcname_len): get rid of gcc-3 -O3 warning.
* eval.c (copy_node_scope): ditto.
* hash.c (rb_hash_foreach, delete_if_i, select_i, each_value_i,
each_key_i, each_pair_i, envix): ditto.
* range.c (range_each_func): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-29 14:51:22 +00:00
aamine
0569c8422c
add location.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-29 06:32:09 +00:00
aamine
8b034b5f3d
forgot to commit ChangeLog.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-29 06:29:52 +00:00
aamine
4ff3371f88
* lib/fileutils.rb: should not inherit ftools.rb's misfeature.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-29 06:24:56 +00:00
usa
4a1c7e5f6d
* lib/fileutils.rb (cmp): return false if file size differs.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-28 20:11:35 +00:00
eban
2672d0cc28
* instruby.rb: remove junk args.
...
* lib/mkmf.rb (create_makefile): remove a trouble library
before making a shared library.
* win32/Makefile.sub: invoke instruby.rb with the --make-flags option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-28 10:32:05 +00:00
wakou
025723b978
* lib/cgi.rb (CGI#[]): improvement. thanks to Kazuhiro NISHIYAMA
...
<zn@mbf.nifty.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-27 18:12:36 +00:00
eban
96d8d4862f
2002-12-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-27 17:00:29 +00:00
eban
3902064314
* instruby.rb: use getopts.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-27 16:28:10 +00:00
eban
c40c0f726b
* {win32,bcc32}/Makefile.sub: remove `=' from --make-flags options.
...
nmake quotes args if included `=' in args.
* instruby.rb: use getopts.rb.
* ext/dbm/extconf.rb: substitute ' with ".
* ext/gdbm/gdbm.c: add prototypes to avoid VC++ warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-27 16:13:56 +00:00
nobu
212d3ebfff
* bcc32/setup.mak, win32/setup.mak(-prologue-): move srcdir from
...
CPP input or UNC path will be removed as a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-27 12:42:06 +00:00
uema2
e0006c665d
* wince/config, wince/configure.bat: replace 1.7 with 1.8
...
in macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-27 08:55:31 +00:00
aamine
46f9785468
* instruby.rb: fileutils.rb accepts only one argument.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-27 04:23:52 +00:00
aamine
585cf46325
* lib/fileutils.rb (fu_parseargs): reject illegal options correctly.
...
* lib/fileutils.rb (uptodate?): parameter declaration was wrong.
* lib/fileutils.rb: change coding styles.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-27 04:21:27 +00:00
nobu
888b9a9739
* instruby.rb: check only `-' option, and use fileutils instead of
...
ftools.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-26 18:01:34 +00:00
wakou
2c5e792dd2
* lib/net/telnet.rb: Telnet#print not add "\n".
...
* lib/cgi.rb: cgi['key'] is equal cgi['key'][0]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-26 17:48:29 +00:00
eban
564b20a38e
2002-12-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-26 16:55:14 +00:00
eban
cdefda39b4
commit miss.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-26 15:15:44 +00:00