diff options
author | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-02-13 19:14:22 +0000 |
---|---|---|
committer | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-02-13 19:14:22 +0000 |
commit | 4da841ce14acdb30fcf5db4ca02700cff34f53d1 (patch) | |
tree | e76d48d8cdf8d4e27f19976f28960e98606d2409 /TAO/utils | |
parent | 49edd9219643c964b273645820b65d080019744a (diff) | |
download | ATCD-4da841ce14acdb30fcf5db4ca02700cff34f53d1.tar.gz |
ChangeLogTag: Thu Feb 13 14:21:43 2003 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
Diffstat (limited to 'TAO/utils')
-rw-r--r-- | TAO/utils/catior/catior.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/TAO/utils/catior/catior.cpp b/TAO/utils/catior/catior.cpp index 0e1a2ac3a16..ddfc5300b9b 100644 --- a/TAO/utils/catior/catior.cpp +++ b/TAO/utils/catior/catior.cpp @@ -125,8 +125,10 @@ catiiop (char* string static CORBA::Boolean cat_iiop_profile (TAO_InputCDR& cdr); +#if 0 static CORBA::Boolean cat_sciop_profile (TAO_InputCDR& cdr); +#endif /*if 0*/ static CORBA::Boolean cat_uiop_profile (TAO_InputCDR& cdr); @@ -641,7 +643,8 @@ cat_tag_policies (TAO_InputCDR& stream) { for (unsigned int iter=0; iter < policies.length() ; iter++) { // Create new stream for pvalue contents - char pmbuf[policies[iter].pvalue.length()]; + char *pmbuf = new char [policies[iter].pvalue.length()]; + for (unsigned int biter=0 ; biter < policies[iter].pvalue.length() - sizeof(int) ; biter++) { @@ -751,6 +754,8 @@ cat_tag_policies (TAO_InputCDR& stream) { "%I Policy #%d Type: %d (UNKNOWN)\n", iter+1, policies[iter].ptype)); } + + delete [] pmbuf; } return 1; |