aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * ext/socket/socket.c (s_recvfrom): alen may be zero with UNIXSocketakr2006-06-012-61/+295
| | | | | | | | | | | | | | | too. (tested on NetBSD 3.0) (s_recvfrom_nonblock): extracted from sock_recvfrom_nonblock. (sock_recvfrom_nonblock): use s_recvfrom_nonblock. (ip_recvfrom_nonblock): new method: IPSocket#recvfrom_nonblock (unix_recvfrom_nonblock): new method: UNIXSocket#recvfrom_nonblock (s_accept_nonblock): extracted from sock_accept_nonblock. (sock_accept_nonblock): use s_accept_nonblock. (tcp_accept_nonblock): new method: TCPServer#accept_nonblock (unix_accept_nonblock): new method: UNIXServer#accept_nonblock git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_cmdvector): backslashes inside single-quotesnobu2006-06-012-2/+7
| | | | | | | no longer has special meanings. fixed: [ruby-list:42311] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_getcwd): runtime's getcwd() will not successusa2006-06-012-16/+36
| | | | | | | | if the length of the cwd is longer than MAX_PATH. fixed [ruby-list:42335] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-06-01usa2006-06-011-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_getcwd): set errno if not set.usa2006-06-012-0/+12
| | | | | | | fixed [ruby-list:42346] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-05-27eban2006-05-271-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): remove extinit files if no statically linkednobu2006-05-273-11/+22
| | | | | | | extensions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (configuration): add $defs unless extconf.h was created.nobu2006-05-262-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h, lib/mkmf.rb (create_header): clear command line options fornobu2006-05-2515-106/+106
| | | | | | | | | | | | | | | macros moved to extconf.h. * ext/extmk.rb (extract_makefile, extmk): made RUBY_EXTCONF_H and EXTSTATIC permanent. * ext/{dbm,digest/*,socket,zlib}/extconf.rb: used $defs and $INCFLAGS. * {bcc32,win32,wince}/Makefile.sub (COMPILE_C, COMPILE_CXX): added $(INCFLAGS). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-05-26eban2006-05-251-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * fixed the problems described in [ruby-dev:28665].ttate2006-05-252-51/+64
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-05-25eban2006-05-241-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: merge multiple entries to an entry with multiple lines.nobu2006-05-245-8/+43
| | | | | | | | | | | * lib/mkmf.rb: allow a series of commands to link. * win32/Makefile.sub: embed manifests. * win32/setup.mak: suffix OS name by runtime version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: deal with $static set in extconf.rb.nobu2006-05-242-7/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (pkg_config): particular config commands support.nobu2006-05-242-10/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ac_install_sh): ignore dummy install-sh.nobu2006-05-242-0/+6
| | | | | | | [ruby-talk:193876] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update nonblocking methods document.akr2006-05-241-27/+34
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-05-24eban2006-05-231-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/ssl.rbgotoyuzo2006-05-232-3/+8
| | | | | | | (OpenSSL::SSL::SocketForwarder#setsockopt,getsockopt): typo fixed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-05-23eban2006-05-231-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add reason for accept(2) failure in accept_nonblock.akr2006-05-221-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* avoid useless fcntl in rb_io_set_nonblock.akr2006-05-221-6/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update *_nonblock doc.akr2006-05-221-160/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_recvfrom_nonblock): use rb_read_pendingakr2006-05-221-0/+6
| | | | | | | | instead of rb_io_read_pending. [ruby-dev:28663] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use rb_read_pending instead of rb_io_read_pending.akr2006-05-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rubyio.h (rb_io_set_nonblock): declared.akr2006-05-224-9/+501
| | | | | | | | | | | | | | | | | * io.c (rb_io_set_nonblock): new function. (io_getpartial): nonblocking read support. (io_read_nonblock): new method: IO#read_nonblock. (io_write_nonblock): new method: IO#write_nonblock. * ext/socket/socket.c (sock_connect_nonblock): new method: Socket#connect_nonblock. (sock_accept_nonblock): new method: Socket#accept_nonblock. (sock_recvfrom_nonblock): new method: Socket#recvfrom_nonblock. [ruby-core:7917] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (umethod_bind): should not update original class.matz2006-05-222-3/+7
| | | | | | | [ruby-dev:28636] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-05-22eban2006-05-221-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ev_const_get): should support constant access frommatz2006-05-222-1/+6
| | | | | | | within instance_eval(). [ruby-dev:28327] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_timeval): should round for usec floatingmatz2006-05-182-2/+9
| | | | | | | | | number. [ruby-core:07896] * time.c (time_add): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::out): support utf-8. a patch from Fujiokamatz2006-05-182-0/+7
| | | | | | | <fuj@rabbix.jp>. [ruby-dev:28649] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-05-18nobu2006-05-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb, lib/mkmf.rb: use BUILD_FILE_SEPARATOR in Makefiles.nobu2006-05-173-7/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (sys_warning): should not call a vararg functionmatz2006-05-172-1/+13
| | | | | | | rb_sys_warning() indirectly. [ruby-core:07886] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-05-17eban2006-05-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod): try to reduce errors using powersOf10matz2006-05-162-21/+36
| | | | | | | table. [ruby-dev:28644] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_initialize): should not allow modifying literalmatz2006-05-162-1/+10
| | | | | | | regexps. frozen check moved from rb_reg_initialize_m as well. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-05-16eban2006-05-161-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_close): should not close untainted dir stream.matz2006-05-162-0/+17
| | | | | | | * dir.c (GetDIR): add tainted/frozen check for each dir operation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_initialize): should not modify untainted objects inmatz2006-05-164-12/+22
| | | | | | | | | safe levels higher than 3. * re.c (rb_memcmp): type change from char* to const void*. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-05-15eban2006-05-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_symbol_arg):matz2006-05-152-1/+6
| | | | | | | typo fixed. a patch from Florian Gross <florg at florg.net>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref.akr2006-05-131-0/+1
| | | | | | | [ruby-core:7865] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-05-13eban2006-05-131-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update readpartial doc.akr2006-05-131-7/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb (PP.mcall): new method.akr2006-05-132-3/+22
| | | | | | | | | (Struct#pretty_print): call Kernel#class and Struct#members even if overriden. (Struct#pretty_print_cycle): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod): differ addition to minimize error.matz2006-05-112-12/+55
| | | | | | | [ruby-dev:28619] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-05-11eban2006-05-111-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod): should not raise ERANGE when the inputmatz2006-05-112-4/+8
| | | | | | | string does not have any digits. [ruby-dev:28629] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-05-09eban2006-05-091-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e