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

ruby-changes:29511

From: charliesome <ko1@a...>
Date: Sat, 22 Jun 2013 15:26:46 +0900 (JST)
Subject: [ruby-changes:29511] charliesome:r41563 (trunk): * ext/etc/etc.c (setup_passwd): revert r41560, unnecessary

charliesome	2013-06-22 15:26:32 +0900 (Sat, 22 Jun 2013)

  New Revision: 41563

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

  Log:
    * ext/etc/etc.c (setup_passwd): revert r41560, unnecessary

  Modified files:
    trunk/ChangeLog
    trunk/ext/etc/etc.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41562)
+++ ChangeLog	(revision 41563)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Jun 22 15:25:00 2013  Charlie Somerville  <charliesome@r...>
+
+	* ext/etc/etc.c (setup_passwd): revert r41560, unnecessary
+
 Sat Jun 22 14:39:00 2013  Charlie Somerville  <charliesome@r...>
 
 	* ext/etc/etc.c (Init_etc): omit 'passwd' from definition of Etc::Passwd
Index: ext/etc/etc.c
===================================================================
--- ext/etc/etc.c	(revision 41562)
+++ ext/etc/etc.c	(revision 41563)
@@ -116,7 +116,7 @@ setup_passwd(struct passwd *pwd) https://github.com/ruby/ruby/blob/trunk/ext/etc/etc.c#L116
 #ifdef HAVE_STRUCT_PASSWD_PW_EXPIRE
 			 INT2NUM(pwd->pw_expire),
 #endif
-			 (VALUE)0		/*dummy*/
+			 0		/*dummy*/
 	);
 }
 #endif

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

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