Age | Commit message (Collapse) | Author |
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* lib/tempfile.rb: Embed Rdoc style comments.
* lib/tempfile.rb: Add length as an alias for size.
* lib/tempfile.rb: Add Tempfile#close!() as a shorthand for
Tempfile#close(true).
* lib/tempfile.rb: Add Tempfile#{unlink,delete}().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
T_class, nor T_ICLASS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* variable.c (generic_ivar_get): should always warn for
uninitialized instance variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
[ruby-list:36773])
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
backported from 1.7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/dbm/dbm.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
(ruby-bugs-ja:PR#366)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* lib/getoptlong.rb (GetoptLong::Error): provide a common ancestor
for GetoptLong error classes (RCR#129).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* eval.c (backtrace): should ignore line 0 frame.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* sprintf.c (rb_f_sprintf): preceding ".." for negative
hexadecimal numbers should not appear if prec (e.g. %.4) is
specified.
* compar.c (cmp_eq,cmp_gt,cmp_ge,cmp_lt,cmp_le): "<=>" might
return nil. check using rb_cmpint().
* error.c (init_syserr): remove sys_nerr dependency.
* regex.c (re_match): avoid dereferencing if size == 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
ENOENT rather than EBADF in such case. [ruby-talk:57177]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/syslog/syslog.c: Do not leak ident.
* ext/syslog/syslog.c, ext/syslog/test.rb: Syslog.close should
raise RuntimeError when not opened.
* ext/syslog/syslog.c, ext/syslog/test.rb:
Syslog.{ident,options,facility,mask} should all return nil when
not opened.
* ext/syslog/syslog.c, ext/syslog/test.rb: Change back the output
format of inspect().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
marked and could thus be GC'd.
* ext/syslog/test.rb: Switch from RUnit to Test::Unit.
* ext/syslog/test.rb: The output format of inspect() is slightly
altered.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* instruby.rb: Install script files under bin/ with ruby's program
prefix and suffix.
* instruby.rb: Rewrite installed scripts' shebang lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* lib/tempfile.rb: Do not pick a name which was once used and is
still scheduled for removal.
* lib/tempfile.rb: A lock file need not and must not be scheduled
for removal.
* lib/tempfile.rb: Compare Max_try with the number of mkdir
failures instead of the suffix counter.
* lib/tempfile.rb: Overall cleanup and add some important notices.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
[ruby-dev:18788]
* profile.rb: illegal use of Array#sort!. replaced it with non-bang method.
[ruby-dev:18792]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
orphan. [ruby-dev:17471]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
in a variable name. Replace them with `_'. Define a hash named
$OPT for convenience.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
object.c, parse.y, range.c, re.c, string.c, struct.c, util.c,
ext/socket/socket.c: merge from 1.7: treat long values as long
instead of int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
pass c to it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
argument and prevent coredump when a nonexistent key is
specified.
* ext/sdbm/init.c (fsdbm_indexes, fsdbm_select): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
the build with Intel C Compiler for Linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
local_tbl.
* marshal.c (w_object): check if klass is really a class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
of logical operator. [ruby-dev:18534]
* parse.y (remove_begin): eliminate useless NODE_BEGIN.
[ruby-dev:18535]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
Darwin for namespace cleanness. [ruby-core:00537]
* dln.c (dln_load): Fix Darwin support that has been disabled and
switch to using it on Darwin instead of the system dlopen().
[ruby-core:00541]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
ruby_dyna_var is NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
for socket. [ruby-win32:382]
* win32/win32.c (StartSockets): set NtSocketsInitialized.
* win32/win32.h: prototypes; win32_fclose, win32_close
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
[ruby-dev:18478]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
(ruby-bugs-ja:PR#277)
* gc.c (Init_stack): prefer address of argument rather than local
variable to initialize rb_gc_stack_start.
* lib/weakref.rb (WeakRef::@@final): use Hash#delete.
* lib/weakref.rb (WeakRef::__getobj__): examin if alive or not by
ID_REV_MAP to deal with recycled object. [ruby-dev:18472]
* lib/weakref.rb (WeakRef::weakref_alive?): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* bignum.c (Init_Bignum): need to add Bignum#div.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/extmk.rb.in (create_makefile): add -Wl,-no-undefined to $DLDFLAGS
on Linux if GNU ld is used and --enable-shared is specified.
* configure.in (RUBY_MINGW32): backport from 1.7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
method object to run handler in separated safe level.
* ext/tcltklib/tcltklib.c (ip_invoke): requires command name
argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|