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

ruby-changes:27094

From: nobu <ko1@a...>
Date: Fri, 8 Feb 2013 09:28:14 +0900 (JST)
Subject: [ruby-changes:27094] nobu:r39146 (trunk): process.c: ix typo

nobu	2013-02-08 09:26:53 +0900 (Fri, 08 Feb 2013)

  New Revision: 39146

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

  Log:
    process.c: ix typo
    
    * process.c (USE_GETPWNAM_R): fix typo.  _SC_GETPW_R_SIZE_MAX instead
      of same macro twice.

  Modified files:
    trunk/process.c

Index: process.c
===================================================================
--- process.c	(revision 39145)
+++ process.c	(revision 39146)
@@ -145,7 +145,7 @@ static void check_gid_switch(void); https://github.com/ruby/ruby/blob/trunk/process.c#L145
 #endif
 
 #if defined(HAVE_PWD_H)
-# if defined(HAVE_GETPWNAM_R) && defined(HAVE_GETPWNAM_R)
+# if defined(HAVE_GETPWNAM_R) && defined(_SC_GETPW_R_SIZE_MAX)
 #  define USE_GETPWNAM_R 1
 # endif
 # ifdef USE_GETPWNAM_R

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

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