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

ruby-changes:28499

From: usa <ko1@a...>
Date: Thu, 2 May 2013 12:35:50 +0900 (JST)
Subject: [ruby-changes:28499] usa:r40551 (trunk): * win32/win32.c (poll_child_status): constified.

usa	2013-05-02 12:35:37 +0900 (Thu, 02 May 2013)

  New Revision: 40551

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

  Log:
    * win32/win32.c (poll_child_status): constified.

  Modified files:
    trunk/win32/win32.c

Index: win32/win32.c
===================================================================
--- win32/win32.c	(revision 40550)
+++ win32/win32.c	(revision 40551)
@@ -3911,7 +3911,7 @@ poll_child_status(struct ChildRecord *ch https://github.com/ruby/ruby/blob/trunk/win32/win32.c#L3911
 	if (stat_loc) {
 	    *stat_loc = exitcode << 8;
 	    if (exitcode & 0xC0000000) {
-		static struct {
+		static const struct {
 		    DWORD status;
 		    int sig;
 		} table[] = {

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

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