ruby-changes:50423
From: nobu <ko1@a...>
Date: Fri, 23 Feb 2018 11:16:46 +0900 (JST)
Subject: [ruby-changes:50423] nobu:r62540 (trunk): process.c: deprecated Struct::Tms
nobu 2018-02-23 11:16:41 +0900 (Fri, 23 Feb 2018) New Revision: 62540 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62540 Log: process.c: deprecated Struct::Tms Modified files: trunk/process.c Index: process.c =================================================================== --- process.c (revision 62539) +++ process.c (revision 62540) @@ -7975,6 +7975,7 @@ InitVM_process(void) https://github.com/ruby/ruby/blob/trunk/process.c#L7975 #if defined(HAVE_TIMES) || defined(_WIN32) rb_cProcessTms = rb_struct_define_under(rb_mProcess, "Tms", "utime", "stime", "cutime", "cstime", NULL); rb_define_const(rb_cStruct, "Tms", rb_cProcessTms); /* for the backward compatibility */ + rb_deprecate_constant(rb_cStruct, "Tms"); #endif SAVED_USER_ID = geteuid(); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/