1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
ktsj 2014-07-06 12:45:27 +00:00
parent 094949cb0a
commit 9f051c80dc
2 changed files with 4 additions and 4 deletions

View file

@ -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)
{

6
file.c
View file

@ -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)
{