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

ruby-changes:18174

From: usa <ko1@a...>
Date: Tue, 14 Dec 2010 10:32:35 +0900 (JST)
Subject: [ruby-changes:18174] Ruby:r30195 (trunk): * ext/openssl/ossl_asn1.c (ossl_asn1_decode0): how many gcc-c99isms

usa	2010-12-14 10:30:41 +0900 (Tue, 14 Dec 2010)

  New Revision: 30195

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

  Log:
    * ext/openssl/ossl_asn1.c (ossl_asn1_decode0): how many gcc-c99isms
      must a man mend; before he can build with VC? r30178

  Modified files:
    trunk/ChangeLog
    trunk/ext/openssl/ossl_asn1.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 30194)
+++ ChangeLog	(revision 30195)
@@ -1,3 +1,8 @@
+Tue Dec 14 10:25:57 2010  NAKAMURA Usaku  <usa@r...>
+
+	* ext/openssl/ossl_asn1.c (ossl_asn1_decode0): how many gcc-c99isms
+	  must a man mend; before he can build with VC? r30178
+
 Mon Dec 13 21:26:33 2010  NARUSE, Yui  <naruse@r...>
 
 	* io.c (simple_sendfile): disable the use of sendfile(2) on
Index: ext/openssl/ossl_asn1.c
===================================================================
--- ext/openssl/ossl_asn1.c	(revision 30194)
+++ ext/openssl/ossl_asn1.c	(revision 30195)
@@ -764,8 +764,8 @@
 	    tag_class = sUNIVERSAL;
 	if(j & V_ASN1_CONSTRUCTED){
 	    if((j == 0x21) && (len == 0)){
+		long lastoff = off;
                 infinite = 1;
-		long lastoff = off;
 		value = ossl_asn1_decode0(&p, length, &off, depth+1, 0, yield);
 		len = off - lastoff;
 	    }

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

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