[前][次][番号順一覧][スレッド一覧]

ruby-changes:34523

From: usa <ko1@a...>
Date: Sat, 28 Jun 2014 22:58:09 +0900 (JST)
Subject: [ruby-changes:34523] usa:r46604 (trunk): * ext/pathname/pathname.c (path_birthtime): Windows support.

usa	2014-06-28 22:58:01 +0900 (Sat, 28 Jun 2014)

  New Revision: 46604

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46604

  Log:
    * ext/pathname/pathname.c (path_birthtime): Windows support.
      see [Feature #9857] [ruby-dev:48339]

  Modified files:
    trunk/ChangeLog
    trunk/ext/pathname/pathname.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 46603)
+++ ChangeLog	(revision 46604)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Jun 28 22:57:01 2014  NAKAMURA Usaku  <usa@r...>
+
+	* ext/pathname/pathname.c (path_birthtime): Windows support.
+	  see [Feature #9857] [ruby-dev:48339]
+
 Sat Jun 28 22:44:16 2014  Tanaka Akira  <akr@f...>
 
 	* ext/pathname/pathname.c (path_birthtime): New method,
Index: ext/pathname/pathname.c
===================================================================
--- ext/pathname/pathname.c	(revision 46603)
+++ ext/pathname/pathname.c	(revision 46604)
@@ -449,7 +449,7 @@ path_atime(VALUE self) https://github.com/ruby/ruby/blob/trunk/ext/pathname/pathname.c#L449
  *
  * See File.birthtime.
  */
-#if defined(HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC)
+#if defined(HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC) || defined(_WIN32)
 static VALUE
 path_birthtime(VALUE self)
 {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]