diff options
author | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-06 12:45:27 +0000 |
---|---|---|
committer | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-06 12:45:27 +0000 |
commit | 9f051c80dcaaf05d5597b6b8830fade30e131031 (patch) | |
tree | 9265330011fd9a2a0599d90ef38ec6091cbc4e60 | |
parent | 094949cb0a9d27a5e9575e22973a7640f33fd99d (diff) | |
download | ruby-9f051c80dcaaf05d5597b6b8830fade30e131031.tar.gz |
* file.c, ext/pathname/pathname.c: [DOC] correct position of method rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ext/pathname/pathname.c | 2 | ||||
-rw-r--r-- | file.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/pathname/pathname.c b/ext/pathname/pathname.c index 995c96ae07..7c24598759 100644 --- a/ext/pathname/pathname.c +++ b/ext/pathname/pathname.c @@ -440,6 +440,7 @@ path_atime(VALUE self) return rb_funcall(rb_cFile, rb_intern("atime"), 1, get_strpath(self)); } +#if defined(HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC) || defined(_WIN32) /* * call-seq: * pathname.birthtime -> time @@ -449,7 +450,6 @@ path_atime(VALUE self) * * See File.birthtime. */ -#if defined(HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC) || defined(_WIN32) static VALUE path_birthtime(VALUE self) { @@ -849,6 +849,7 @@ rb_stat_ctime(VALUE self) return stat_ctime(get_stat(self)); } +#if defined(HAVE_STAT_BIRTHTIME) /* * call-seq: * stat.birthtime -> aTime @@ -870,7 +871,6 @@ rb_stat_ctime(VALUE self) * */ -#if defined(HAVE_STAT_BIRTHTIME) static VALUE rb_stat_birthtime(VALUE self) { @@ -2131,6 +2131,7 @@ rb_file_ctime(VALUE obj) return stat_ctime(&st); } +#if defined(HAVE_STAT_BIRTHTIME) /* * call-seq: * File.birthtime(file_name) -> time @@ -2145,7 +2146,6 @@ rb_file_ctime(VALUE obj) * */ -#if defined(HAVE_STAT_BIRTHTIME) static VALUE rb_file_s_birthtime(VALUE klass, VALUE fname) { @@ -2161,6 +2161,7 @@ rb_file_s_birthtime(VALUE klass, VALUE fname) # define rb_file_s_birthtime rb_f_notimplement #endif +#if defined(HAVE_STAT_BIRTHTIME) /* * call-seq: * file.birthtime -> time @@ -2173,7 +2174,6 @@ rb_file_s_birthtime(VALUE klass, VALUE fname) * */ -#if defined(HAVE_STAT_BIRTHTIME) static VALUE rb_file_birthtime(VALUE obj) { |