mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
a070c4fbe3
struct stat.st_atim, struct stat.st_atimespec, struct stat.st_atimensec, struct stat.st_mtim, struct stat.st_mtimespec, struct stat.st_mtimensec, struct stat.st_ctim, struct stat.st_ctimespec, struct stat.st_ctimensec. * include/ruby/missing.h: provide struct timespec if not available. * time.c: support nanosecond-resolution using struct timespec. * include/ruby/intern.h: provide rb_time_nano_new. * file.c (utime_internal): use utimensat if available. (rb_file_s_utime): refactored. (rb_f_test): use stat_atime, stat_mtime, stat_ctime. (rb_stat_cmp): check tv_nsec. (stat_atimespec): new function. (stat_atime): ditto. (stat_mtimespec): ditto. (stat_mtime): ditto. (stat_ctimespec): ditto. (stat_ctime): ditto. (rb_stat_atime): use stat_atime. (rb_file_s_atime): ditto. (rb_file_atime): ditto. (rb_stat_mtime): use stat_mtime. (rb_file_s_mtime): ditto. (rb_file_mtime): ditto. (rb_file_ctime): use stat_ctime. (rb_file_s_ctime): ditto. (rb_stat_ctime): ditto. * variable.c (rb_copy_generic_ivar): clear clone's instance variables if obj has no instance variable. * marshal.c (w_object): dump instance variables of generated string for TYPE_USERDEF, even if original object has instance variables. * lib/time.rb (Time#xmlschema): use nsec instead of usec. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
||
---|---|---|
.. | ||
beginmainend.rb | ||
endblockwarn.rb | ||
envutil.rb | ||
marshaltestlib.rb | ||
sentence.rb | ||
test_alias.rb | ||
test_array.rb | ||
test_assignment.rb | ||
test_basicinstructions.rb | ||
test_beginendblock.rb | ||
test_bignum.rb | ||
test_call.rb | ||
test_case.rb | ||
test_class.rb | ||
test_clone.rb | ||
test_condition.rb | ||
test_const.rb | ||
test_continuation.rb | ||
test_defined.rb | ||
test_dir.rb | ||
test_encoding.rb | ||
test_enumerator.rb | ||
test_env.rb | ||
test_eval.rb | ||
test_exception.rb | ||
test_fiber.rb | ||
test_file.rb | ||
test_fixnum.rb | ||
test_float.rb | ||
test_fnmatch.rb | ||
test_gc.rb | ||
test_hash.rb | ||
test_ifunless.rb | ||
test_integer.rb | ||
test_io.rb | ||
test_iterator.rb | ||
test_lambda.rb | ||
test_literal.rb | ||
test_marshal.rb | ||
test_math.rb | ||
test_method.rb | ||
test_mixed_unicode_escapes.rb | ||
test_module.rb | ||
test_objectspace.rb | ||
test_optimization.rb | ||
test_pack.rb | ||
test_path.rb | ||
test_pipe.rb | ||
test_primitive.rb | ||
test_proc.rb | ||
test_process.rb | ||
test_rand.rb | ||
test_range.rb | ||
test_readpartial.rb | ||
test_regexp.rb | ||
test_settracefunc.rb | ||
test_signal.rb | ||
test_sprintf.rb | ||
test_string.rb | ||
test_stringchar.rb | ||
test_struct.rb | ||
test_super.rb | ||
test_symbol.rb | ||
test_system.rb | ||
test_thread.rb | ||
test_time.rb | ||
test_trace.rb | ||
test_unicode_escape.rb | ||
test_variable.rb | ||
test_whileuntil.rb | ||
test_yield.rb | ||
ut_eof.rb |