1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/ruby
normal 9b69e9fafc time.c (time_strftime): avoid garbage in common case
strftime format strings which are dynamically-generated will benefit
from avoiding garbage, here.

* time.c (time_strftime): use rb_str_tmp_frozen_{acquire,release}
* test/ruby/test_time.rb (test_strftime_no_hidden_garbage): new test

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-01-31 02:18:58 +00:00
..
enc add tests againts regressions for upcoming codepoint reordering in unfolding table 2016-12-03 07:18:41 +00:00
allpairs.rb
beginmainend.rb
bug-11928.rb
lbtest.rb
marshaltestlib.rb
sentence.rb
test_alias.rb
test_argf.rb io.c: ARGF fd leak 2016-12-27 07:18:27 +00:00
test_arity.rb
test_array.rb array.c: do not resize to less than 0 2016-12-20 06:53:44 +00:00
test_assignment.rb
test_autoload.rb
test_backtrace.rb
test_basicinstructions.rb
test_beginendblock.rb
test_bignum.rb
test_call.rb
test_case.rb
test_class.rb
test_clone.rb
test_comparable.rb
test_complex.rb get rid of ambiguous parentheses warnings 2016-11-29 16:06:54 +00:00
test_complex2.rb
test_complexrational.rb get rid of ambiguous parentheses warnings 2016-11-29 16:06:54 +00:00
test_condition.rb
test_const.rb test for [Feature #11547] 2017-01-01 09:17:10 +00:00
test_continuation.rb
test_defined.rb
test_dir.rb file.c: home directory from system 2016-11-26 11:37:01 +00:00
test_dir_m17n.rb Don't encode to UTF-8 if it's unnecessary. 2016-11-23 04:40:40 +00:00
test_econv.rb
test_encoding.rb
test_enum.rb array.c, enum.c: change sum algorithm 2016-12-06 13:40:31 +00:00
test_enumerator.rb
test_env.rb
test_eval.rb vm_eval.c: fstring instance_eval 2016-11-14 05:17:55 +00:00
test_exception.rb eval.c: fix circular cause 2016-12-21 11:12:39 +00:00
test_extlibs.rb
test_fiber.rb
test_file.rb EPERM by symlink 2016-12-06 07:46:14 +00:00
test_file_exhaustive.rb file.c: cygwin behavior 2016-12-07 02:19:29 +00:00
test_fixnum.rb
test_flip.rb test_flip.rb: r56316 2016-11-16 05:25:53 +00:00
test_float.rb test_float.rb: add test cases for Float#round 2016-12-22 10:29:40 +00:00
test_fnmatch.rb
test_gc.rb
test_hash.rb fix optimization for hash aset/aref with fstring 2017-01-07 11:31:53 +00:00
test_ifunless.rb
test_integer.rb internal.h: change the default rounding mode to half-up 2016-12-10 02:36:16 +00:00
test_integer_comb.rb
test_io.rb test_io.rb: separate a test 2017-01-31 01:18:10 +00:00
test_io_m17n.rb
test_iseq.rb
test_iterator.rb
test_keyword.rb class.c: non-keyword hash class 2017-01-18 03:38:52 +00:00
test_lambda.rb vm.c: fix return in lambda 2016-12-31 08:07:58 +00:00
test_lazy_enumerator.rb
test_literal.rb Revert r56856 2016-11-21 22:45:26 +00:00
test_m17n.rb string.c: replacement and block 2017-01-11 02:31:02 +00:00
test_m17n_comb.rb
test_marshal.rb marshal.c: fix infinite recursion 2016-11-24 11:07:12 +00:00
test_math.rb
test_metaclass.rb
test_method.rb
test_mixed_unicode_escapes.rb
test_module.rb * test/ruby/test_module.rb: Method tables are not guaranteed to be 2016-11-14 19:27:24 +00:00
test_not.rb
test_notimp.rb
test_numeric.rb
test_object.rb object.c: no TypeError at Symbol 2017-01-23 06:16:04 +00:00
test_objectspace.rb
test_optimization.rb test_optimization.rb: for r56208 2016-11-07 07:45:18 +00:00
test_pack.rb test/ruby/test_pack.rb: fix test case added by r57187 2016-12-29 16:16:32 +00:00
test_parse.rb parse.y: fix yyerror message 2016-12-14 04:35:28 +00:00
test_path.rb
test_pipe.rb
test_primitive.rb
test_proc.rb
test_process.rb Extend timeout for Solaris unstable10s. 2016-12-07 02:41:00 +00:00
test_rand.rb SecureRandom should try /dev/urandom first [Bug #9569] 2017-01-20 08:00:00 +00:00
test_range.rb range.c: check loading 2016-11-11 11:52:03 +00:00
test_rational.rb test_rational.rb: messages 2017-01-16 02:56:28 +00:00
test_rational2.rb
test_readpartial.rb
test_refinement.rb vm_method.c: resolve refined method to undef 2017-01-18 05:23:53 +00:00
test_regexp.rb re.c: consider the case of RMatch::regexp is nil 2016-12-20 07:32:23 +00:00
test_require.rb Extend timeout for Solaris unstable10s. 2016-12-07 02:41:00 +00:00
test_rubyoptions.rb parse.y: chomp by -l 2017-01-19 07:18:23 +00:00
test_rubyvm.rb
test_settracefunc.rb * vm_trace.c (tracepoint_attr_callee_id, rb_tracearg_callee_id): 2016-11-05 13:15:27 +00:00
test_signal.rb
test_sleep.rb
test_sprintf.rb sprintf.c: avoid garbage in common (no exception) case 2017-01-31 00:41:56 +00:00
test_sprintf_comb.rb
test_string.rb string.c: rindex(//) should set $~. 2017-01-19 08:13:03 +00:00
test_stringchar.rb
test_struct.rb * test/ruby/test_module.rb: Method tables are not guaranteed to be 2016-11-14 19:27:24 +00:00
test_super.rb vm_eval.c: follow the original class 2016-10-29 00:39:16 +00:00
test_symbol.rb vm_eval.c: Symbol#to_proc and instance_exec 2016-12-26 10:00:36 +00:00
test_syntax.rb parse.y: rescue/else/ensure in do-end 2017-01-19 09:54:58 +00:00
test_system.rb
test_thread.rb * test/ruby/test_module.rb: Method tables are not guaranteed to be 2016-11-14 19:27:24 +00:00
test_threadgroup.rb
test_time.rb time.c (time_strftime): avoid garbage in common case 2017-01-31 02:18:58 +00:00
test_time_tz.rb
test_trace.rb
test_transcode.rb Update windows-1255 table 2016-10-28 15:14:32 +00:00
test_undef.rb
test_unicode_escape.rb parse.y: relax spaces 2016-12-02 02:47:11 +00:00
test_variable.rb Fix typos 2016-12-06 12:49:46 +00:00
test_weakmap.rb
test_whileuntil.rb
test_yield.rb
ut_eof.rb