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

ruby-changes:33939

From: nobu <ko1@a...>
Date: Mon, 19 May 2014 21:35:32 +0900 (JST)
Subject: [ruby-changes:33939] nobu:r46020 (trunk): etc.c: fix typo

nobu	2014-05-19 21:35:22 +0900 (Mon, 19 May 2014)

  New Revision: 46020

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

  Log:
    etc.c: fix typo
    
    * ext/etc/etc.c (etc_uname): fix typo, `len` with `plen`, and an
      extra semicolon.

  Modified files:
    trunk/ext/etc/etc.c
Index: ext/etc/etc.c
===================================================================
--- ext/etc/etc.c	(revision 46019)
+++ ext/etc/etc.c	(revision 46020)
@@ -705,7 +705,7 @@ etc_uname(VALUE obj) https://github.com/ruby/ruby/blob/trunk/ext/etc/etc.c#L705
 # if defined _MSC_VER && _MSC_VER < 1300
 #   define GET_COMPUTER_NAME(ptr, plen) GetComputerNameW(ptr, plen)
 # else
-#   define GET_COMPUTER_NAME(ptr, plen) GetComputerNameExW(ComputerNameDnsFullyQualified, ptr, len);
+#   define GET_COMPUTER_NAME(ptr, plen) GetComputerNameExW(ComputerNameDnsFullyQualified, ptr, plen)
 # endif
     GET_COMPUTER_NAME(NULL, &len);
     buf = ALLOCV_N(WCHAR, vbuf, len);

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

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