summaryrefslogtreecommitdiffstats
path: root/missing
Commit message (Collapse)AuthorAgeFilesLines
...
* * missing/strchr.c (strrchr): fixed a bug in detecting NUL in amatz2005-09-081-1/+3
| | | | | | | | | | | | string. [ruby-dev:26985] * string.c (rb_str_times): should taint empty strings as well. * object.c (Init_Object): make class_variable_{get,set} public. [ruby-dev:26965] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, configure.in (MINIOBJS): miniruby on HP-UX can not loadnobu2005-09-061-1/+1
| | | | | | | | | | | | | | | extension libraries. * bignum.c (bignew_1, bigadd): K&R style argument actually can't be defined as char. * missing/vsnprintf.c: ANSI compiler supports const keyword. * ext/digest/sha2/extconf.rb: reject platforms which has inttypes.h but no 64bit integer. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/vsnprintf.c (BSD__sprint): needs to call vwrite functionnobu2005-08-221-1/+1
| | | | | | | pointer. fixed: [ruby-dev:26854] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check vsnprintf() and snprintf().nobu2005-08-031-0/+4
| | | | | | | | * sprintf.c, missing/vsnprintf.c: made vsnprintf() and snprintf() private. fixed: [ruby-dev:26651] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_or): wraps the operand in an array if it is notmatz2005-08-021-0/+1
| | | | | | | | | an array. [ruby-talk:150495] * array.c (rb_ary_and, rb_ary_plus, rb_ary_diff): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (lambda): Perl6 style -> lambda expression. [NEW]matz2005-07-271-2/+7
| | | | | | | | | | | | | | | | | | | | | | | [VERY EXPERIMENTAL] * gc.c (id2ref): must not assign pointers to long int. use LONG_LONG instead if SIZEOF_LONG < SIZEOF_VOIDP. [ruby-talk:149645] * ruby.h: use LONG_LONG to simplify the change. [ruby-talk:149645] * dir.c (dir_each): rewinddir(3) before iteration. [ruby-talk:149628] * eval.c (rb_f_throw): replace all '0x%lx' by '%p'. [ruby-talk:149553] * missing/vsnprintf.c (BSD_vfprintf): '%p' need to handle 64bit size pointer. [ruby-talk:149553] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_vsprintf, rb_sprintf): new functions return new String,nobu2005-07-231-12/+16
| | | | | | | | | using missing/vsnprintf.c. [ruby-dev:26580] * missing/vsnprintf.c: made the output changeable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_obj_pattern_match): now returns nil.matz2005-07-061-483/+74
| | | | | | | | | | | | | [ruby-core:05391] * sample/svr.rb: service can be stopped by ill-behaved client; use tsvr.rb instead. * missing/erf.c: original erf.c by prof. Okumura is confirmed to be public domain. reverted BSD implementation. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/erf.c: need to include some headers for some platforms.usa2005-07-011-0/+4
| | | | | | | | * win32/win32.c (copysign, scalb): define for compatibility with other platforms. [ruby-dev:26430] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/crypt.c: modified to make it compilable on platformsmatz2005-07-012-2/+115
| | | | | | | | | other than BSD. [ruby-dev:26430] * missing/erf.c: ditto. code from <exp.c> merged. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/crypt.c: replaced with 4.4BSD version.matz2005-07-013-317/+1300
| | | | | | | | | | * missing/erf.c: ditto. * missing/vsnprintf.c: removed the third provision from the old BSD license. [ruby-core:05177] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (sigexit): call rb_thread_signal_exit() instead ofmatz2005-06-121-104/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rb_exit(). [ruby-dev:26347] * eval.c (rb_thread_signal_exit): a new function to exit on main thread. * eval.c (rb_thread_switch): exit status should be retrieved from ruby_errinfo. * eval.c (rb_f_exit): ensure exit(0) should call exit(EXIT_SUCCESS). * missing/mkdir.c: remove. [ruby-core:05177] * hash.c (env_aset): do not treat nil as key-removing value. [ruby-list:40865] * parse.y (method_call): allow aref expression ([]) to take a block. * parse.y (block_dup_check): a function to check duplication of a block argument and an actual block. * lib/delegate.rb (SimpleDelegator::__setobj__): need check for recursive delegation. [ruby-core:04940] * lib/cgi.rb: add underscore aliases CGI::escape_html, CGI::unescape_html, CGI::escape_element, CGI::unescape_element. [ruby-core:05058] * misc/ruby-mode.el (ruby-expr-beg): fix looking point drift. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/os2.c, missing/x68.c: typo fix. pointed out by greentea.nobu2004-02-212-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/os2.c (chdir, getcwd):siena2004-01-211-0/+23
| | | | | | | use _chdir2 and _getcwd2 supporting multiple drives in OS/2 with EMX. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check availability of link(). [ruby-dev:22237]siena2004-01-211-0/+2
| | | | | | | | | | * file.c (rb_file_s_link): raise an exception when link() is unavailable. * missing/os2.c (link): removed. File#link isn't supported. * bcc32/Makefile.sub: define HAVE_LINK to enable link(). [ruby-dev:22241] * win32/Makefile.sub: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/isinf.c (isinf): typo fix.eban2003-12-211-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_with_disable_interrupt): prohibit thread contextmatz2003-12-202-24/+28
| | | | | | | switch during proc execution. [ruby-dev:21899] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/memmove.c (memmove): take void *, not char *.eban2003-11-181-4/+6
| | | | | | | | * missing.h (memmove): ditto. * missing.h (strchr, strrchr): return char *, not int. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/acosh.c (DBL_MANT_DIG): typo fix(ifdef -> ifndef).eban2003-10-181-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.subusa2003-06-051-0/+91
| | | | | | | | | | | (MISSING): link with missing/erf.c. * missing.h (erf, erfc): fix prototype. * missing/erf.c: new. [ruby-list:37753] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/strftime.c: HP-UX support.eban2003-03-041-1/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: better HP-UX support.eban2003-03-041-1/+1
| | | | | | | * missing/strftime.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, defines.h, dir.c, dir.h, dln.c, error.c,uema22002-12-152-2/+2
| | | | | | | | | | | | | | | eval.c, file.c, hash.c, io.c, main.c, missing.c, process.c, ruby.c, rubysig.h, signal.c, st.c, util.c, util.h, bcc/Makefile.sub, win32/Makefile.sub, win32/win32.h, ext/Win32API/Win32API.c, ext/socket/getaddrinfo.c, ext/socket/getnameinfo.c, ext/socket/socket.c, ext/tcltklib/stubs.c : replace "NT" with "_WIN32", add DOSISH_DRIVE_LETTER * wince/exe.mak : delete \r at the end of lines. * wince/mswince-ruby17.def : delete rb_obj_become git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (ruby_xmalloc): remove MALLOC_LIMIT to avoid frequentmatz2002-09-061-2/+5
| | | | | | | garabage collection. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (is_pointer_to_heap): avoid GCC 3.1 warnings.eban2002-05-141-0/+4
| | | | | | | * missing/strftime.c (timezone): it should take no argument on Cygwin. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* /tmp/lognobu2002-04-121-0/+88
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * the VMS support patch submitted by Akiyoshi, Masamichimatz2002-03-221-1/+1
| | | | | | | | | | | | <Masamichi.Akiyoshi@jp.compaq.com> is merged. * eval.c (exec_under): changing ruby_class is OK, but should not alter cbase. * eval.c (yield_under_i): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/fileblocks.c: add for autoconf.eban2002-03-161-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c: new method `gmtoff', `gmt_offset' and `utc_offset'.akr2001-12-171-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (time_utc_offset): new function. (Init_Time): bind above methods to `time_utc_offset'. * time.c: 64bit time_t support. (time_s_at): use NUM2LONG instead of NUM2INT for tv_sec. (time_arg): initialize tm_isdst correctly. use long to initialize tm_year. (search_time_t): renamed from `make_time_t'. (make_time_t): call `timegm' and `mktime' instead of `search_time_t' if availabe. (time_to_i): use LONG2NUM instead of INT2NUM. (time_localtime): check localtime failure. (time_gmtime): check gmtime failure. (time_year): use LONG2NUM instead of INT2FIX. (time_to_a): use long for tm_year. (time_dump): check tm_year which is not representable with 17bit. (time_load): initialize tm_isdst. * configure.in: check existence of `mktime' and `timegm'. check existence of tm_gmtoff field of struct tm. fix negative time_t for 64bit time_t. * missing/strftime.c: fix overflow by tm_year + 1900. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot some checkins.matz2001-05-061-2/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c: remove TMP_PROTECT_END to prevent C_ALLOCA crash.matz2001-03-261-13/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * file.c (rb_file_flock): do not trap EINTR. * missing/flock.c (flock): returns the value from lockf(2) directly. * eval.c (ev_const_defined): should ignore toplevel cbase (Object). * eval.c (ev_const_get): ditto. * ext/md5/md5.h: replace by independent md5 implementation contributed by L. Peter Deutsch (thanks). * ext/md5/md5init.c: adopted to Deutsch's md5 implementation. * pack.c (pack_unpack): string from P/p should be tainted. * ext/curses/curses.c: curses on Mac OS X public beta does not have _maxx etc. * marshal.c (w_object): should truncate trailing zero short for bignums. * object.c (sym_intern): new method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (argf_seek_m): wrong calling sequence of rb_io_seek().matz2001-03-131-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * parse.y (cond0): no special treatment of string literal in condition. * math.c: add acos, asin, atan, conh, sinh, tanh and hypot to Math. * configure.in: check hypot availablility. * missing/hypot.c: public domain rewrite of hypot. * parse.y (warn_unless_e_option): warning condition was wrong. * parse.y (warning_unless_e_option): ditto. * enum.c (enum_all): new method 'all?', which returns true if block returns true for all elements. * enum.c (enum_any): new method 'any?', which returns true if block retruns true for any of elements. * marshal.c (marshal_load): do not give warning unless explicitly set to verbose. * eval.c (rb_exit): give string value "exit" to SystemExit. * ruby.c (proc_options): -v should not print version if proc_options called via moreswitches(). * parse.y (stmt): while/until modifier must work for empty body. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (primary): rescue and ensure clauses should be allowedmatz2001-03-0614-267/+93
| | | | | | | to appear in singleton method body. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_call): should not modify ruby_block->frame.itermatz2001-02-261-0/+4
| | | | | | | | | | | | | | based on ruby_frame->iter altered by PUSH_ITER(). * eval.c (rb_thread_fd_close): should save current context before raising exception. * io.c (set_stdin): preserve original stdin. * io.c (set_outfile): preserve original stdout/stderr. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/extconf.rb: add dir_config.eban2001-02-181-49/+50
| | | | | | | quote> * missing/flock.c: use fcntl(2) instead of lockf(2). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mon Jan 15 16:00:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>matz2001-01-152-11/+1
| | | | | | | | | | | | | | | * pack.c (pack_unpack): should check associated pointer packed by pack("P"). restriction added. Sun Jan 14 21:49:28 2001 Koji Arai <JCA02266@nifty.ne.jp> * sprintf.c (rb_f_sprintf): simple typo. binary base should be 2, not '2'. * re.c (rb_reg_s_last_match): should explicitly return nth match. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-12-181-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-07-271-25/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* support mingw32.eban2000-05-133-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-03-09matz2000-03-091-0/+48
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-02-18matz2000-02-181-6/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-02-17matz2000-02-172-23/+20
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-01-17matz2000-01-171-0/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 20000105matz2000-01-051-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RUBYOPTmatz1999-10-212-256/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 19991004matz1999-10-041-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove obsolete filesmatz1999-08-133-2705/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 1.4.0matz1999-08-1314-36/+1975
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was generated by cvs2svn to compensate for changes in r372,matz1999-01-203-125/+26
| | | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was generated by cvs2svn to compensate for changes in r11,matz1998-01-164-70/+219
| | | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12 b2dd03c8-39d4-4d8f-98ff-823fe69b080e