Age | Commit message (Collapse) | Author |
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3192 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@3130 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@3036 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
|
|
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
|
|
[ruby-dev:18478]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2950 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
|
|
handle not only descriptor. [ruby-talk:40015]
* ext/socket/socket.c (bsock_close_read, bsock_close_write): not
use myfdclose().
* win32/win32.c, win32/win32.h (myfddup, myfdclose): delete.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* eval.c (rb_eval): should not rely on ruby_class == rb_cObject
check. Besides allow implicit publicity for attribute set
methods.
* parse.y (primary): need not to check class_nest, just set
whether method is an attrset or not.
* string.c (rb_str_each_line): p might be at the top of the
string.
* variable.c (rb_path2class): should not use rb_eval_string().
* parse.y (str_extend): expression substitution can contain string
terminator again.
* parse.y (yylex): the warning message "invalid
character syntax" was never issued.
* file.c (rb_find_file): $LOAD_PATH must not be empty.
* file.c (rb_find_file_ext): ditto.
* range.c (range_eq): class check should be based on range.class,
instead of Range to work with Range.dup.
* range.c (range_eql): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* dir.c (push_pattern): add const directive to 1st argument.
* dir.c: prototype; push_pattern() to avoid VC++ warning.
* ext/tcltklib/tcltklib.c: prototype; _timer_for_tcl() and ip_ruby()
to avoid VC++ warning.
* win32/win32.c (win32_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/branches/ruby_1_6@2823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* array.c (rb_ary_new2): len*sizeof(VALUE) may be a positive value.
* array.c (rb_ary_initialize): ditto.
* re.c (rb_reg_initialize): should not modify frozen Regexp.
* bignum.c (rb_uint2big): there should be no zero sized bignum.
* ext/extmk.rb.in: extmake() that works properly for both tkutil
(tk/tkutil.so) and digest/sha1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/socket/socket.c (s_recvfrom): update RSTRING len.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
the same address always, so allocate string by ruby_strdup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
libreadline's bug. (ruby-bugs-ja:PR#268)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
called outside of a method.
* parse.y (arg): use INT2NUM, not INT2FIX for tUMINUS.
* parse.y (arg): $1 may be null for tPOW.
* parse.y (stmt,arg): too much void value check.
* parse.y (arg): need to check void value on rules which does not
use node_assign().
* ext/socket/socket.c (ipaddr): need not to taint hostnames.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
is not found in the receiver.
* sprintf.c (rb_f_sprintf): "%d" should convert objects into
integers using Integer().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/socket/getaddrinfo.c (gai_strerror): get rid of warning.
* ext/socket/socket.c (init_inetsock): ensures resources are
freed at exceptions.
* ext/socket/socket.c (init_unixsock): ditto.
* ext/socket/socket.c (udp_connect): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
of `$(srcdir)/' when including depend file.
* lib/mkmf.rb (create_makefile): add `{$(srcdir)}' when including depend
file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
specified instance variable is not defined.
* variable.c (generic_ivar_remove): modified to check ivar
existence.
* class.c (rb_singleton_class): wrong condition; was creating
unnecessary singleton class.
* numeric.c (int_step): step may be a float less than 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
allowed when $SAFE > 3.
* dir.c (fnmatch): "*/bar" (with FNM_PATHNAME flag) does not
match "foo/bar".
* io.c (read_all): files on /proc filesystem with zero stat size,
may have contents.
* eval.c (exec_under): changing ruby_class is OK, but should not
alter cbase.
* eval.c (yield_under_i): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
of removed modules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
since octal literals are formed by three digits at most.
* eval.c (rb_eval_cmd): cbase should not be NULL; it should be
either ruby_wrapper or Object.
* enum.c (enum_each_with_index): should return self.
* process.c (proc_setpgrp): should return value for non-void function.
* process.c (proc_getpgid): should raise exception if getpgid() return -1.
* string.c (rb_str_ljust): should return a duplicated string.
* string.c (rb_str_rjust): ditto.
* string.c (rb_str_center): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
singleton cbase.
* eval.c (is_defined): adopt new cvar behavior.
* eval.c (rb_eval): ditto.
* eval.c (assign): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
LIBS macro.
* ext/extmk.rb.in (extmake): default $LIBPATH to $libdir.
* win32/win32.c (NtCmdGlob): avoid VC++ warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
--with-xx-{include,lib} is ignored when --with-xx-dir is
specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
qualifier only for uClibc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
(no decrement).
* st.c (rehash): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* random.c (rand_init): ditto.
* ext/socket/{addinfo.h,getaddrinfo.c} (gai_strerror): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
off-by-one errors in Aaron Gifford's code.
Obtained from: KAME via FreeBSD
KAME PR: 393
FreeBSD PR: kern/34242
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|