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

ruby-changes:7089

From: nobu <ko1@a...>
Date: Thu, 14 Aug 2008 14:58:18 +0900 (JST)
Subject: [ruby-changes:7089] Ruby:r18607 (trunk): * gc.c (getrusage_time): should return the value.

nobu	2008-08-14 14:57:58 +0900 (Thu, 14 Aug 2008)

  New Revision: 18607

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

  Log:
    * gc.c (getrusage_time): should return the value.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 18606)
+++ ChangeLog	(revision 18607)
@@ -1,5 +1,7 @@
-Thu Aug 14 14:56:42 2008  Nobuyoshi Nakada  <nobu@r...>
+Thu Aug 14 14:57:46 2008  Nobuyoshi Nakada  <nobu@r...>
 
+	* gc.c (getrusage_time): should return the value.
+
 	* thread.c (rb_thread_priority_set): get rid of C99 feature.
 
 	* transcode.c (transcode_search_path): ditto.
Index: gc.c
===================================================================
--- gc.c	(revision 18606)
+++ gc.c	(revision 18607)
@@ -140,6 +140,7 @@
     t += (double)(DWORD)(q >> 16) * (1 << 16);
     t += (DWORD)q & ~(~0 << 16);
 #endif
+    return t;
 #else
     return 0.0;
 #endif

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

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