aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-19 17:57:03 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-19 17:57:03 +0000
commit857756ac6e07e6c2793c62ecd570fe2fc63c3aa1 (patch)
treeb8a5d3a1f38c981531d1e6b153fd549a43dc9c43 /file.c
parent0fb2cd458b13576c837ed10b94eb8bb296e85118 (diff)
downloadruby-857756ac6e07e6c2793c62ecd570fe2fc63c3aa1.tar.gz
* file.c: NotImplementedError is raised if birthtime is unavailable.
Patch by @y-yagi san and [Fixes GH-817] [ci skip] [DOC] * ext/pathname/pathname.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 9539ea937a..70afb0ded5 100644
--- a/file.c
+++ b/file.c
@@ -892,7 +892,7 @@ rb_stat_ctime(VALUE self)
* stat.birthtime -> aTime
*
* Returns the birth time for <i>stat</i>.
- * If the platform doesn't have birthtime, returns <i>ctime</i>.
+ * If the platform doesn't have birthtime, raises NotImplementedError.
*
* File.write("testfile", "foo")
* sleep 10