summaryrefslogtreecommitdiff
path: root/ACE
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2022-07-18 16:27:20 +0200
committerGitHub <noreply@github.com>2022-07-18 16:27:20 +0200
commitbd92596bbc63635a2ed2131322e6c659a5420586 (patch)
tree924f13592a643ea3f847b7a8037be6e211629b0d /ACE
parentb9e4a9a92a619f5eba4bbf0dce154edb005dbab8 (diff)
parent8f9a9f304ba52f05f9a06c2afa16ea3f4ca0b097 (diff)
downloadATCD-bd92596bbc63635a2ed2131322e6c659a5420586.tar.gz
Merge pull request #1887 from jwillemsen/jwi-codesetregistry
Minor change for codeset registry generation and removed old Id tags
Diffstat (limited to 'ACE')
-rw-r--r--ACE/apps/mkcsregdb/mkcsregdb.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/ACE/apps/mkcsregdb/mkcsregdb.cpp b/ACE/apps/mkcsregdb/mkcsregdb.cpp
index bb6c427d0d2..afc194e3eb9 100644
--- a/ACE/apps/mkcsregdb/mkcsregdb.cpp
+++ b/ACE/apps/mkcsregdb/mkcsregdb.cpp
@@ -248,7 +248,6 @@ csdb_generator::init_output (const char *srcfile)
-1);
outf_ = ACE_OS::fdopen (fd, "w");
- ACE_OS::fprintf (outf_,"// $ID: $\n");
ACE_OS::fprintf (outf_,"/*\n * Codeset registry DB, generated %s * source: %s\n",
ACE_OS::asctime (ACE_OS::localtime(&now)),
srcfile);
@@ -258,7 +257,7 @@ csdb_generator::init_output (const char *srcfile)
ACE_OS::fprintf (outf_," * a text file containing all the desired codeset information, build and run\n");
ACE_OS::fprintf (outf_," * mkcsregdb. The source is in $ACE_ROOT/apps/mkcsregdb. It will generate a new\n");
ACE_OS::fprintf (outf_," * copy of this file, with the registry_db_ array properly initialized.\n */\n");
- ACE_OS::fprintf (outf_,"\n#include \"ace/Codeset_Registry.h\"\n\n%s\n%s\n{\n",
+ ACE_OS::fprintf (outf_,"\n#include \"ace/Codeset_Registry.h\"\n\nACE_BEGIN_VERSIONED_NAMESPACE_DECL\n\n%s\n%s\n{\n",
"ACE_Codeset_Registry::registry_entry const",
"ACE_Codeset_Registry::registry_db_[] =");
return 0;
@@ -302,7 +301,7 @@ csdb_generator::fini_output (const char *tgt)
ACE_OS::sprintf (target,"%s/ace/%s",ace_src_,tgt);
if (count_ == 0)
write_dummy_entry();
- ACE_OS::fprintf (outf_,"\n};\n\nsize_t const ACE_Codeset_Registry::num_registry_entries_ = %d;\n\n",count_);
+ ACE_OS::fprintf (outf_,"\n};\n\nsize_t const ACE_Codeset_Registry::num_registry_entries_ = %d;\n\nACE_END_VERSIONED_NAMESPACE_DECL\n",count_);
ACE_OS::fclose (outf_);
ACE_stat buf;
if (ACE_OS::stat (target,&buf) == 0)