aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* file.c: fix typonobu2014-04-281-2/+2
| | | | | | * file.c (FSTATFS): fix typo and commit miss. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* file.c: fix errors on Windowsnobu2014-04-281-14/+18
| | | | | | | * file.c (rb_io_statfs, rb_statfs_init, statfs_inspect): fix compilation errors on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (HAVE_STRUCT_STATFS_F_TYPE): check struct statfs.f_typenaruse2014-04-283-3/+12
| | | | | | | | | | to support OpenBSD. * file.c (statfs_type): use above macro to switch. * file.c (statfs_inspect): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check struct statvfs and struct statvfs.f_fstypename.naruse2014-04-284-28/+68
| | | | | | | | * configure.in: on NetBSD fstatfs is obsoleted. * file.c: support NetBSD for File::Statfs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-04-28svn2014-04-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: This argument must be a pointer.nari2014-04-282-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: Fix typos. These are undefined variables.nari2014-04-282-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* trivial changetadf2014-04-271-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_strptime.c (date__strptime_internal): do not overwrite century.tadf2014-04-273-4/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-04-27svn2014-04-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix indentkazu2014-04-271-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_enum.rb (test_flat_map): Added test for flat_map.hsbt2014-04-262-0/+27
| | | | | | Contribute from @igaiga. [fix GH-598] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: non-destructive keyword splatnobu2014-04-263-0/+20
| | | | | | | | * compile.c (compile_array_): make copy a first hash not to modify the argument itself. keyword splat should be non-destructive. [ruby-core:62161] [Bug #9776] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update comment.akr2014-04-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-04-26svn2014-04-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb (test_rlimit_nofile): Don't limitakr2014-04-252-2/+11
| | | | | | | | | RLIMIT_NOFILE too small. This fix sporadic "[ASYNC BUG] thread_timer: select" on GNU/Linux. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (rmdir): rescue Errno::EEXIST in addition tongoto2014-04-252-1/+9
| | | | | | | | | | ENOTEMPTY (and ENOENT), because SUSv3 describes that "If the directory is not an empty directory, rmdir() shall fail and set errno to [EEXIST] or [ENOTEMPTY]" and Solaris uses EEXIST. [Bug #9571] [ruby-dev:48017] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/utils.rb: Don't rescue LoadError for 'etc' extension.akr2014-04-252-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* node.c: indentnobu2014-04-251-13/+13
| | | | | | * node.c (dump_node): adjust indent to "ruby-style.el". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: workaround for tmpdirnobu2014-04-251-0/+5
| | | | | | | * lib/mkmf.rb (try_link0): workaround for miniruby as 'tmpdir.rb' always requires 'etc.so' now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: refine __builtin_unreachable checknobu2014-04-252-2/+8
| | | | | | | | * configure.in (rb_cv_func___builtin_unreachable): try with an external variable not only by a warning, which might not be shown due to the optimization. [ruby-core:61647] [Bug #9665] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: NetBSD's ksh, used by configure, needs escapes.naruse2014-04-252-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-04-25svn2014-04-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: correct pthread_setname_np's prototype on NetBSD.naruse2014-04-252-1/+9
| | | | | | [Bug #9586] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (fu_get_uid, fu_get_gid): Etc.getpwnam/getgrnam mayusa2014-04-243-4/+10
| | | | | | | | | returns nil. * lib/webrick/utils.rb (su): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_io.rb: Add etc.so to $" before require 'tmpdir'.akr2014-04-242-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert r45709.akr2014-04-242-7/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_io.rb: Don't use tmpdir because etc.so is notakr2014-04-242-4/+7
| | | | | | | usable from miniruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * man/ruby.1: fix broken link.kazu2014-04-242-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tmpdir.rb: Don't need to rescue LoadError for etc.so.akr2014-04-242-4/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* suppress warnings: assigned but unused variable - posnaruse2014-04-241-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* suppress warnings: ambiguous first argument; put parentheses or even spacesnaruse2014-04-241-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (statfs_inspect): suppress warnings.naruse2014-04-242-4/+9
| | | | | | assume those values won't be larger than LONG_LONG_MAX. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: resurrect dynamic symbol and namenobu2014-04-241-0/+2
| | | | | | | * parse.y (lookup_id_str): resurrect the dynamic symbol before accessing its content, and its name before returning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: check for symbolnobu2014-04-241-8/+13
| | | | | | | * parse.y (rb_sym2id, rb_sym2id_without_pindown): reject non-symbol values. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ossl_asn1.c: fix undefined behaviornobu2014-04-242-1/+7
| | | | | | | | * ext/openssl/ossl_asn1.c (ossl_asn1_initialize): SYMID on a value other than Symbol is an undefined behavior. fix up r31699. [ruby-core:62142] [Bug #9771] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: check for symbolnobu2014-04-242-2/+13
| | | | | | | * parse.y (rb_sym2id, rb_sym2id_without_pindown): return 0 for non-symbol values, for the time being. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add test for r45492, r45693, r45698naruse2014-04-241-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: resurrect before pindownnobu2014-04-241-3/+1
| | | | | | | | | | | * parse.y (rb_pin_dynamic_symbol): resurrect the dynamic symbol which may be unmarked already and swept at next time, before pindown. * parse.y (dsym_node_gen): now rb_intern_str() resurrects dynamic symbols, via lookup_sym_id() and rb_pin_dynamic_symbol(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: trivial optimizationnobu2014-04-241-1/+1
| | | | | | | * parse.y (rb_str_dynamic_intern): branch by same condition as rb_id2sym to reduce unnecessary branch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* call to_inaruse2014-04-242-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* file.c: statfs_inspectnobu2014-04-242-0/+43
| | | | | | * file.c (statfs_inspect): add File::Statfs#inspect method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-04-24svn2014-04-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (dsym_node_gen): like r45492, call rb_gc_resurrect().naruse2014-04-233-0/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/extconf.rb: Build ext/etc unconditionally.akr2014-04-232-23/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* skip on SEEK_HOLEnaruse2014-04-231-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add uname -rnaruse2014-04-231-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (statfs_fsid): remove statfs.f_fsid because it doesn't returnnaruse2014-04-233-18/+5
| | | | | | meaningful value portably. http://togetter.com/li/658517 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* travis doesn't have /proc/version_signaturenaruse2014-04-231-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* show versionsnaruse2014-04-231-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e