diff options
author | gokhale <asgokhale@users.noreply.github.com> | 1997-10-29 01:27:46 +0000 |
---|---|---|
committer | gokhale <asgokhale@users.noreply.github.com> | 1997-10-29 01:27:46 +0000 |
commit | ff3ee17e846c2bba79df636ae837b2e19965ffe5 (patch) | |
tree | 0a4fe210e7bec039ef3836b1753a843cd569fb88 /TAO/TAO_IDL/be/be_array.cpp | |
parent | 4fef5e5266afc6d2ca439c51eecf9339b7a2d71a (diff) | |
download | ATCD-ff3ee17e846c2bba79df636ae837b2e19965ffe5.tar.gz |
Fixed a number of problems
CVS:
CVS:
Diffstat (limited to 'TAO/TAO_IDL/be/be_array.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_array.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/TAO_IDL/be/be_array.cpp b/TAO/TAO_IDL/be/be_array.cpp index f0dc6f4c144..091095c71c9 100644 --- a/TAO/TAO_IDL/be/be_array.cpp +++ b/TAO/TAO_IDL/be/be_array.cpp @@ -447,12 +447,12 @@ be_array::gen_forany_defn (void) TAO_OutStream *ch; // output stream long i; // loop index TAO_NL nl; // end line - char namebuf [TAO_CodeGen::MAXNAMELEN]; // to hold the _out name + char namebuf [NAMEBUFSIZE]; // to hold the _out name // Macro to avoid "warning: unused parameter" type warning. ACE_UNUSED_ARG (i); - ACE_OS::memset (namebuf, '\0', TAO_CodeGen::MAXNAMELEN); + ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); ACE_OS::sprintf (namebuf, "%s_forany", local_name ()->get_string ()); // retrieve a singleton instance of the code generator @@ -529,16 +529,16 @@ be_array::gen_forany_impl (void) TAO_OutStream *ci; // output stream long i; // loop index TAO_NL nl; // end line - char fname [TAO_CodeGen::MAXNAMELEN]; // to hold the full and - char lname [TAO_CodeGen::MAXNAMELEN]; // local _var names + char fname [NAMEBUFSIZE]; // to hold the full and + char lname [NAMEBUFSIZE]; // local _var names // Macro to avoid "warning: unused parameter" type warning. ACE_UNUSED_ARG (i); - ACE_OS::memset (fname, '\0', TAO_CodeGen::MAXNAMELEN); + ACE_OS::memset (fname, '\0', NAMEBUFSIZE); ACE_OS::sprintf (fname, "%s_forany", this->fullname ()); - ACE_OS::memset (lname, '\0', TAO_CodeGen::MAXNAMELEN); + ACE_OS::memset (lname, '\0', NAMEBUFSIZE); ACE_OS::sprintf (lname, "%s_forany", local_name ()->get_string ()); // retrieve a singleton instance of the code generator |