From 5747a6c480edc60cd8d7f1deaabd3d65f5d14778 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 24 Sep 2003 22:55:33 +0000 Subject: [PATCH] * ext/win32ole/win32ole.c, ext/openssl/ossl_pkey_dsa.c, ext/openssl/ossl_pkey_rsa.c, ext/bigdecimal/bigdecimal.h: must not use C++ or C99 style comment yet. (ruby-bugs:PR#1184) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ ext/bigdecimal/bigdecimal.h | 2 +- ext/openssl/ossl_pkey_dsa.c | 2 +- ext/openssl/ossl_pkey_rsa.c | 2 +- ext/win32ole/win32ole.c | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8c2adf3d8e..4969efb952 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu Sep 25 07:55:26 2003 Nobuyoshi Nakada + + * ext/win32ole/win32ole.c, ext/openssl/ossl_pkey_dsa.c, + ext/openssl/ossl_pkey_rsa.c, ext/bigdecimal/bigdecimal.h: must + not use C++ or C99 style comment yet. (ruby-bugs:PR#1184) + Thu Sep 25 00:23:22 2003 WATANABE Hirofumi * MANIFEST: add SOAP4R. diff --git a/ext/bigdecimal/bigdecimal.h b/ext/bigdecimal/bigdecimal.h index 3152474b36..aabc551a76 100644 --- a/ext/bigdecimal/bigdecimal.h +++ b/ext/bigdecimal/bigdecimal.h @@ -213,4 +213,4 @@ VP_EXPORT int VPrint(FILE *fp,char *cntl_chr,Real *a); #if defined(__cplusplus) } /* extern "C" { */ #endif -#endif //____BIG_DECIMAL__H____ +#endif /* ____BIG_DECIMAL__H____ */ diff --git a/ext/openssl/ossl_pkey_dsa.c b/ext/openssl/ossl_pkey_dsa.c index bbbd1b8839..e20d155445 100644 --- a/ext/openssl/ossl_pkey_dsa.c +++ b/ext/openssl/ossl_pkey_dsa.c @@ -260,7 +260,7 @@ ossl_dsa_to_text(VALUE self) if (!(out = BIO_new(BIO_s_mem()))) { ossl_raise(eDSAError, NULL); } - if (!DSA_print(out, pkey->pkey.dsa, 0)) { //offset = 0 + if (!DSA_print(out, pkey->pkey.dsa, 0)) { /* offset = 0 */ BIO_free(out); ossl_raise(eDSAError, NULL); } diff --git a/ext/openssl/ossl_pkey_rsa.c b/ext/openssl/ossl_pkey_rsa.c index 3b27a20121..2d04bf8367 100644 --- a/ext/openssl/ossl_pkey_rsa.c +++ b/ext/openssl/ossl_pkey_rsa.c @@ -347,7 +347,7 @@ ossl_rsa_to_text(VALUE self) if (!(out = BIO_new(BIO_s_mem()))) { ossl_raise(eRSAError, NULL); } - if (!RSA_print(out, pkey->pkey.rsa, 0)) { //offset = 0 + if (!RSA_print(out, pkey->pkey.rsa, 0)) { /* offset = 0 */ BIO_free(out); ossl_raise(eRSAError, NULL); } diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c index e380df8379..3b143ebd07 100644 --- a/ext/win32ole/win32ole.c +++ b/ext/win32ole/win32ole.c @@ -5063,7 +5063,7 @@ find_default_source(ole, piid, ppTypeInfo) return hr; } - // Determine IID of default source interface + /* Determine IID of default source interface */ hr = (*ppTypeInfo)->lpVtbl->GetTypeAttr(*ppTypeInfo, &pTypeAttr); if (SUCCEEDED(hr)) { *piid = pTypeAttr->guid;