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

ruby-changes:38223

From: nobu <ko1@a...>
Date: Tue, 14 Apr 2015 11:25:33 +0900 (JST)
Subject: [ruby-changes:38223] nobu:r50304 (trunk): process.c: initgroups on cygwin

nobu	2015-04-14 11:25:02 +0900 (Tue, 14 Apr 2015)

  New Revision: 50304

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

  Log:
    process.c: initgroups on cygwin
    
    * process.c (initgroups): not declared on cygwin if _POSIX_SOURCE
      or _XOPEN_SOURCE are defined.

  Modified files:
    trunk/process.c
Index: process.c
===================================================================
--- process.c	(revision 50303)
+++ process.c	(revision 50304)
@@ -85,6 +85,9 @@ https://github.com/ruby/ruby/blob/trunk/process.c#L85
 #endif
 #ifdef HAVE_GRP_H
 #include <grp.h>
+# ifdef __CYGWIN__
+int initgroups(const char *, rb_gid_t);
+# endif
 #endif
 #ifdef HAVE_SYS_ID_H
 #include <sys/id.h>

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

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