summaryrefslogtreecommitdiffstats
path: root/ext/socket
Commit message (Collapse)AuthorAgeFilesLines
...
* * ext/socket/socket.c (ruby_connect): workaround for the setup ofeban2001-06-221-0/+8
| | | | | | | Cygwin socket. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0): no mvalue_to_svalue conversion here.matz2001-06-221-0/+44
| | | | | | | | | | | | | | | | | | * eval.c (massign): takes svalue, convert it to mvalue inside. * eval.c (rb_eval): parameters for yield/return are always svalues now. * eval.c (svalue_to_mvalue): more strict conversion. * eval.c (mvalue_to_svalue): ditto. * st.c (new_size): prime hash size enabled. * ext/socket/socket.c (Init_socket): SO_* constants added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot some checkins.matz2001-05-061-51/+49
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (id2ref): sometimes confused symbol and reference.matz2001-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * dir.c (glob_helper): breaks loop after calling recusive glob_helper; all wild cards should be consumed; no need for further match. * dir.c (dir_s_glob): gives warning if no match found. * object.c (sym_inspect): did allocate extra byte space. * marshal.c (shortlen): shortlen should return number of bytes written. * eval.c (ev_const_defined): need not to check if cbase->nd_class is rb_cObject. * eval.c (ev_const_get): ditto. * time.c (time_zone): return "UTC" for UTC time objects. * eval.c (THREAD_ALLOC): flags should be initialized. * signal.c (rb_f_kill): should use FIX2INT, not FIX2UINT. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (set_outfile): f should be the FILE* from the assigning value.matz2001-02-161-5/+0
| | | | | | | | | | | | | | * ext/socket/socket.c (tcp_s_open): should not give default value to local_host. * time.c (time_s_times): move to Process::times. * file.c (rb_file_s_lchmod): new method File::lchmod. * file.c (rb_file_s_lchown): new method File::lchown. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_waitall): new method based on a patch from Brianmatz2001-02-151-1/+1
| | | | | | | | | Fundakowski Feldman <green@green.dyndns.org>. * process.c (last_status_set): objectify $? value (Process::Status). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_ctl): do not call ioctl/fcntl for f2, if f and f2matz2001-02-132-20/+4
| | | | | | | | | | | | | | | | | | | | | | have same fileno. * eval.c (rb_load): raise LocaJumpError if unexpected local jumps appear during load. * ext/socket/socket.c (bsock_close_read): don't call rb_thread_fd_close(); it's supposed to be called by io_io_close(). * ext/socket/socket.c (bsock_close_read): do not modify f and f2. * ext/socket/socket.c (bsock_close_write): ditto. * ext/socket/socket.c (sock_new): avoid dup(2) on sockets. * parse.y (primary): preserve and clear in_single and in_def using stack to prevent nested method errors in singleton class bodies. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parse_quotedwords): %w should allow parenthesis escape.matz2001-02-081-23/+73
| | | | | | | | | | | | | | | | | | | | | * parse.y (parse_qstring): %q should allow terminator escape. * re.c (rb_reg_options): new method to give an option values. * parse.y (cond0): disable special treating of integer literal in conditional unless option -e is supplied. changes current behavior. experimental. * parse.y (cond0): give warning for string/integer literals and dot operators in conditionals unless option -e is supplied. * re.c (rb_reg_equal): all option flags should be same to be equal. * error.c (Init_Exception): make Interrupt a subclass of SignalException. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_s_read): new method to call IO#read frommatz2001-01-181-1/+1
| | | | | | | | pathname. In addition, it accepts third optional argument to specify starting point. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add .cvsignore's.knu2001-01-091-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-12-221-2/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-11-171-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 001117matz2000-11-161-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-11-161-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-11-081-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ebaneban2000-09-121-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ebaneban2000-08-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-08-241-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-07-106-8/+53
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-07-041-11/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-06-291-12/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-06-281-44/+56
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-05-30matz2000-05-302-101/+60
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-05-25matz2000-05-251-9/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* socket security bugmatz2000-05-221-29/+49
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-05-18matz2000-05-182-4/+142
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread problemsmatz2000-05-171-12/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* support mingw32.eban2000-05-132-2/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-05-12matz2000-05-122-7/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-05-09matz2000-05-092-1/+19
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-05-01matz2000-05-013-16/+35
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-03-07matz2000-03-071-7/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-03-06matz2000-03-061-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-02-29matz2000-02-291-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-02-23matz2000-02-231-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-02-17matz2000-02-173-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-02-08matz2000-02-083-13/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-02-02matz2000-02-022-8/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-02-01matz2000-02-012-5/+41
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-01-17matz2000-01-171-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-01-08matz2000-01-081-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 20000105matz2000-01-051-9/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 19991214matz1999-12-141-5/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* marshal load GC protectmatz1999-10-203-8/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 19991018matz1999-10-182-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 19991012matz1999-10-122-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 19991004matz1999-10-043-0/+25
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 19990922matz1999-09-222-2/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 19990920matz1999-09-201-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 1.4.1 to bematz1999-08-241-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e