aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * Makefile.in (CPPFLAGS): remove @includedir@.matz2002-04-025-9/+18
| | | | | | | | | * lib/mkmf.rb (create_makefile): ditto. * ext/extmk.rb.in (create_makefile): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_addrinfo): should clear addrinfo hints.eban2002-04-022-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: files[0,1] == "." -> files[0,2] == "./"ttate2002-04-011-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/mkmf.rb: install any files using $INSTALLFILES. (from [ruby-dev:16683])ttate2002-04-012-50/+92
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_fptr_cleanup): need flush even when io will not bematz2002-04-015-5/+23
| | | | | | | | | | closed. * io.c (rb_io_initialize): was calling wrong function rb_io_mode_flags(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-04-01nobu2002-04-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sdbm/init.c (each_pair): moved prototype before thenobu2002-04-013-5/+10
| | | | | | | | | definition. * ext/racc/cparse/cparse.c (call_scaniter): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (match_setter): it's OK to assign nil to $~.matz2002-04-014-15/+41
| | | | | | | | | | | * io.c (rb_io_fptr_cleanup): do not close IO created by for_fd(). * io.c (rb_io_initialize): mark IO created by for_fd * ext/socket/socket.c (bsock_s_for_fd): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/racc/cparse/cparse.c: prototype; call_scaniter().usa2002-04-014-0/+20
| | | | | | | | | * ext/sdbm/init.c: prototype; each_pair(). * ext/tcltklib/tcltklib.c: prototypes; _timer_for_tcl() and ip_ruby(), Nobu's patch at [ruby-dev:14483]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_fflush): DRY patch from /Christoph applied.matz2002-03-292-22/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Changed the regexp again to simplify code. See also [ruby-dev:16682].nahi2002-03-291-8/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): default FLAGS to empty strings.nobu2002-03-292-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-03-29nobu2002-03-291-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (arg_config): should use Shellwords::shellwords likenobu2002-03-292-17/+49
| | | | | | | | | | | | | | | ext/extmk.rb.in. * lib/mkmf.rb (enable_config): default had priority over command line options and configure_args. * lib/mkmf.rb: support autoconf 2.53 style variables from environment. * lib/mkmf.rb: add directory options. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/README.win32: follow recent changes.usa2002-03-292-4/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Changed regexp for parsing break command '.*?+' to '.+'.nahi2002-03-291-1/+1
| | | | | | | See also [ruby-dev:16652]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.status): reflect user defined $CC inusa2002-03-282-1/+6
| | | | | | | config.status. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_addrinfo): should specify socktypematz2002-03-283-29/+51
| | | | | | | | | | | | | from outside. * io.c (argf_binmode): should call next_argv() to initialize ARGF. * io.c (argf_filename): ditto. * io.c (argf_file): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c: add taint check.aamine2002-03-282-121/+180
| | | | | | | | | * ext/strscan/strscan.c: #getch/#get_byte should set regexp registers. * ext/strscan/strscan.c: remove useless #include directive. * ext/strscan/strscan.c: refactor struct strscanner. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (READ_DATA_PENDING): configure.in has supported for uClibc,eban2002-03-272-4/+5
| | | | | | | so remove uClibc stuff. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typonobu2002-03-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_sysseek): new method based on a patch from Aristarkhmatz2002-03-275-13/+50
| | | | | | | | | A Zagorodnikov <xm@bolotov-team.ru>. [new] * io.c (READ_DATA_PENDING): use !feof(fp) for default behavior. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* change log update only.aamine2002-03-261-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: HTTP.get accepts URI.aamine2002-03-263-191/+292
| | | | | | | * lib/net/http.rb: add some HTTP 1.1 response codes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/net/protocol.rd.ja, smtp.rd.ja, pop.rd.ja: removed.aamine2002-03-264-953/+6
| | | | | | | * MANIFEST: remove doc/net/* entries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in (arg_config): should use Shellwords::shellwords.eban2002-03-262-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (FILE_READPTR): check bufread instead of bufend for uClibc.eban2002-03-262-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .cvsignore: add autom4te*.cache.eban2002-03-261-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (primary): while/until statement modifiers to "begin"matz2002-03-265-84/+186
| | | | | | | | | | | | | | | | | | | | statement now work as "do .. while" even when begin statement has "rescue" or "ensure" [new]. * parse.y (bodystmt): rescue/ensure is allowed at every bodies, i.e. method bodies, begin bodies, class bodies[new], and module bodies[new]. * ext/socket/socket.c (sock_addrinfo): should specify ai_socktype for getaddrinfo hints. * eval.c (rb_f_abort): embed aborting message into exception object [new]. * eval.c (terminate_process): utility function for exit and abort. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb: support VC++.NET.usa2002-03-262-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigfloat/bigfloat.c: Fix the initializer's function nameknu2002-03-262-21/+8
| | | | | | | according to the new library name. (pointed out by nobu) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_quad_pack): get rid of escape sequences.eban2002-03-262-2/+2
| | | | | | | * dln.c (dln_load, __VMS): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/fileutils.rb addedaamine2002-03-261-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: new file.aamine2002-03-264-2/+811
| | | | | | | | * lib/README: add fileutlis.rb. * doc/NEWS: add fileutils.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb (pp): return nil like p.akr2002-03-253-2/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigfloat/extconf.rb: Downcase the module name. (BigFloat.soknu2002-03-253-2/+65
| | | | | | | | | | | | | | | -> bigfloat.so) * ext/bigfloat/bigfloat.c (BigFloat_inspect): Alter the inspect format not to look like an array. (pointed out by akr) * ext/bigfloat/bigfloat.c (BigFloat_hash): Implement BigFloat#hash. * ext/bigfloat/bigfloat.c (BigFloat_dump, BigFloat_load): Support marshaling. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (FILE_READPTR): check _p for 4.4BSD.akr2002-03-252-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (FILE_READPTR): new. for IO#gets improvement.nobu2002-03-253-161/+239
| | | | | | | | | | | | | | | | | | | * io.c (READ_DATA_PENDING_PTR): ditto. * io.c (remain_size): separated from read_all(). * io.c (read_all): argument chagend. * io.c (appendline): new. get a line and append to string. * io.c (swallow): new. swallow continuous line delimiters. * io.c (rb_io_getline_fast): add delimiter argument. * io.c (rb_io_getline): performance improvement. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in (arg_config): get rid of single quotes for autoconf 2.53.eban2002-03-252-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c (mbc_startpos_func): VC6 seems to be unable tonobu2002-03-253-12/+16
| | | | | | | understand forward declaration for static variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (rb_push_glob): local variable 'maxnest' wasnobu2002-03-252-1/+6
| | | | | | | uninitialized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-03-25eban2002-03-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (bsock_do_not_rev_lookup_set): should not bematz2002-03-256-124/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | allowed when $SAFE > 3. * eval.c (rb_thread_ready): THREAD_TO_KILL threads should not turn into THREAD_RUNNABLE on wakeup. * eval.c (rb_thread_list): THREAD_TO_KILL threads should be in the list. * eval.c (thgroup_list): ditto; by moving gid clearance from rb_thread_cleanup(). * dir.c (fnmatch): "*/bar" (with FNM_PATHNAME flag) does not match "foo/bar". * io.c (read_all): files on /proc filesystem with zero stat size, may have contents. * ext/socket/socket.c (tcp_s_gethostbyname): refactored. * ext/socket/socket.c (sock_s_gethostbyname): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (dln_argv0): unused unless USE_DLN_A_OUT.nobu2002-03-252-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c (mbc_startpos_func): shoud be static.nobu2002-03-252-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* D'oh! Convert CR+LF to LF.knu2002-03-230-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (push_element): avoid warning for djgpp.eban2002-03-232-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-03-22usa2002-03-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in: replace mkdir with mkpath to compile racc/cparse.aamine2002-03-222-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* socket.c: oops, half-baked modifies were commited; backoutmatz2002-03-221-28/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e