aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * dir.c (glob_func_caller): add prototype to get rid of warning.nobu2002-09-132-4/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-13nobu2002-09-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): avoid uninitialized global/class variablenobu2002-09-133-3/+15
| | | | | | | | | warnings at `||='. [ruby-dev:18278] * parse.y (stmt, arg): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix-Addons [ruby-core:483] with corrections from [ruby-core:484]michal2002-09-131-8/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($INSTALLFILES): avoid warning when $VERBOSE mode.eban2002-09-132-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/setup.mak : Control of a message.H_Konishi2002-09-123-13/+22
| | | | | | | * bcc32/makefile.sub : include resource. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): should pass matched path. (ruby-bugs-ja:PR#333)nobu2002-09-122-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): fixed freeing buffer. (ruby-bugs-ja:PR#332)nobu2002-09-122-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): prevent memory leak using rb_protect().matz2002-09-124-83/+158
| | | | | | | | | | | | | | | | | | | | | * string.c (rb_str_associate): no need to check freeze flag. * string.c (rb_str_resize): should honor STR_ASSOC flag on resize. * string.c (rb_str_resize): proper STR_ASSOC handling. pointed out by Michal Rokos. * string.c (rb_str_buf_cat): ditto. * string.c (rb_str_cat): ditto. * string.c (rb_str_buf_append): ditto. * string.c (rb_str_append): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-12knu2002-09-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_trap_eval): preserve thread status and so on.nobu2002-09-112-24/+84
| | | | | | | [ruby-talk:40337], [ruby-core:00019] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pp.rb (ARGF.pretty_print): implemented.akr2002-09-115-17/+36
| | | | | | | (PP.pp): arguments reordered. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_to_s): refined format. [ruby-dev:18215]nobu2002-09-112-4/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c, win32/win32.h (rb_w32_getpid): negate pid under Win9x.usa2002-09-113-1/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (get_pat): Add an extra argument "quote".knu2002-09-112-17/+26
| | | | | | | | * string.c (rb_str_match_m): Do not bother to convert if a regexp is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub: remove unnecessary `.dll' from filename ofusa2002-09-115-14/+25
| | | | | | | | | | | | | dll's resource file. * cygwin/GNUmakefile.in: ditto. [ruby-dev:17103] * win32/Makefile.sub: ditto. [ruby-dev:17103] * win32/resource.rb: ditto. [ruby-dev:17103] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-11nobu2002-09-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* retry on EINTR, ERESTART and EWOULDBLOCK. [ruby-dev:17855], ↵nobu2002-09-112-21/+107
| | | | | | [ruby-dev:17878], [ruby-core:00444] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (ext): make directory `ext' on compile dir.usa2002-09-112-2/+9
| | | | | | | [ruby-dev:18255] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/configure.bat: add CR to end of line.usa2002-09-111-32/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_mod_define_method): initialize orig_func too.nobu2002-09-102-0/+6
| | | | | | | (ruby-bugs-ja:PR#330) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-10nobu2002-09-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (nextc): restore line number after here documents.nobu2002-09-102-0/+15
| | | | | | | | | (ruby-bugs-ja:PR#331) * parse.y (heredoc_restore): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: $hdrdir is $top_srcdir if invoked from extmk.rbeban2002-09-101-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb, lib/mkmf.rb ($INCFLAGS): new var for -I$(topdir).eban2002-09-103-9/+22
| | | | | | | | * lib/mkmf.rb: add #define WIN32_LEAN_AND_MEAN to improve compile times. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: specify the source.usa2002-09-101-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (miniruby): shouldn't link $(EXTOBJS).usa2002-09-105-59/+108
| | | | | | | | | | | | | * win32/Makefile.sub ($(LIBRUBY_A), $(LIBRUBY)): avoid lib.exe's warning. * win32/Makefile.sub: remove unnecessary rules. * win32/configure.bat, win32/setup.mak, win32/README.win32: enable to pass some arguments to configure. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.h (S_I?USR): define only if not mingw32.eban2002-09-092-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* capa field in RString, and RArray is now LONG (ruby-lang:458)michal2002-09-091-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_set_string): reinitializenobu2002-09-092-11/+36
| | | | | | | | | | | | properly. * ext/stringio/stringio.c (strio_become): added self-assign check and experimental auto-conversion to StringIO. * ext/stringio/stringio.c (strio_reopen): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_free): prototype; struct time_object -> void *.eban2002-09-084-12/+17
| | | | | | | | avoid GCC warnings. * lib/mkmf.rb, ext/extmk.rb ($LINK, $CPP): move to lib/mkmf.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-08eban2002-09-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: prototype; invoke_queue_handler() to avoidusa2002-09-082-0/+4
| | | | | | | VC++ warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c: prototype; time_free() to avoid VC++ warnings.usa2002-09-084-2/+49
| | | | | | | | | | * win32/win32.c (rb_w32_stat): remove S_IWGRP and S_IWOTH bits from st_mode. * win32/win32.h (S_I*): define if not defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_struct_member): moved from ext/socket/extconf.rb.eban2002-09-085-94/+76
| | | | | | | | | * ext/socket/extconf.rb: use macro_defined? instead of egrep_cpp. * ext/etc/extconf.rb: use have_struct_member. * ext/etc/etc.c: add prefix HAVE_ST_ to PW_ macros. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* removed.eban2002-09-081-544/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: modify program_prefix only if specifiedeban2002-09-0835-60/+679
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | --program-prefix. * configure.in: don't generate ext/extmk.rb. * Makefile.in: execute directly $(srcdir)/ext/extmk.rb. remove -Cext option, "Dir::chdir 'ext'" in ext/extmk.rb. * {win32,bccwin32}/Makefile.sub: ditto. * instruby.rb: ditto. * ext/extmk.rb: renamed from ext/extmk.rb.in. * lib/mkmf.rb (module Logging): create log files (mkmf.log) in each extension module directories. * ext/extmk.rb: ditto. * lib/mkmf.rb (macro_defined?): new method. * ext/.cvsignore: remove extmk.rb. * ext/*/.cvsignore: add "*.def". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bcc32/configure.bat : Control of a message.H_Konishi2002-09-085-4/+11
| | | | | | | | | bcc32/makefile.sub : @(sitearch) typo. ext/extmk.rb.in : [bccwin32] libdir is added to a library path. lib/mkmf.rb : ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/inf-ruby.el (inferior-ruby-error-regexp-alist): regexpnobu2002-09-072-15/+48
| | | | | | | | | | | | | alist for error message from ruby. * misc/inf-ruby.el (inferior-ruby-mode): fixed for Emacs. * misc/inf-ruby.el (ruby-send-region): compilation-parse-errors doesn't parse first line, so insert separators before each evaluations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-07eban2002-09-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use Enumerable#all? to optimize a bit.knu2002-09-071-5/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb: Disallow Set.new(false). Add even more tests.knu2002-09-072-4/+38
| | | | | | | [Submitted by: "Christoph" <chr_news@gmx.net>] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb: Fix a bug in flatten()'s recursive set detection.knu2002-09-072-292/+332
| | | | | | | | | | | [Submitted by: "Christoph" <chr_news@gmx.net>] Some tests against the bug are added. * lib/set.rb: Resurrect the test suite by putting it after __END__ and executing `eval DATA.read'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_gc_mark_parser): ruby_eval_tree is marked in eval.c.aamine2002-09-062-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($CC): command to compile C source.nobu2002-09-062-13/+82
| | | | | | | | | | | | | | | | | | * lib/mkmf.rb (try_compile): added. * lib/mkmf.rb (egrep_cpp): use internal grep when pattern is Regexp, otherwise use external egrep command but get rid of pipe of command.com. * lib/mkmf.rb (have_func): local variable should be volatile not to be eliminated by optimization. * lib/mkmf.rb (create_makefile): link with CONFIG["LIBS"]. * lib/mkmf.rb (create_makefile): emit .SUFFIXES:. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (ruby_xmalloc): remove MALLOC_LIMIT to avoid frequentmatz2002-09-066-24/+13
| | | | | | | garabage collection. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-06eban2002-09-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_gc_mark_parser): should mark lex_input and ruby_debug_lines.aamine2002-09-062-3/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_gc_mark_parser): should mark parse.y global variables.aamine2002-09-062-5/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_puts): RSTRING(line)->ptr might be NULL.aamine2002-09-062-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e