summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_interface.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2006-10-26 23:09:24 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2006-10-26 23:09:24 +0000
commita229b602e5d3196b5b54f045e74ab0ad7d978be0 (patch)
treedce7517d54032df2210686c218cb3a0b8b821255 /TAO/TAO_IDL/be/be_interface.cpp
parentb9d3095bea695a64f8eb926cd939014f52581c84 (diff)
downloadATCD-a229b602e5d3196b5b54f045e74ab0ad7d978be0.tar.gz
ChangeLogTag:Thu Oct 27 01:59:19 UTC 2006 Ossama Othman <ossama_othman at symantec dot com>
Diffstat (limited to 'TAO/TAO_IDL/be/be_interface.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_interface.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/TAO/TAO_IDL/be/be_interface.cpp b/TAO/TAO_IDL/be/be_interface.cpp
index 511abe72f82..6fc79e08fe7 100644
--- a/TAO/TAO_IDL/be/be_interface.cpp
+++ b/TAO/TAO_IDL/be/be_interface.cpp
@@ -476,12 +476,10 @@ be_interface::redefine (AST_Interface *from)
void
be_interface::gen_def_ctors (TAO_OutStream *os)
{
- this->traverse_inheritance_graph (
+ (void) this->traverse_inheritance_graph (
be_interface::gen_def_ctors_helper,
os
);
-
- return;
}
@@ -1673,6 +1671,12 @@ be_interface::gen_gperf_lookup_methods (const char *flat_name)
-1);
}
+#ifndef ACE_OPENVMS
+ // Flush the output stream. Gperf also uses it as output. Ensure
+ // current contents are written before gperf writes.
+ ACE_OS::fflush (this->strategy_->get_out_stream ()->file ());
+#endif /* !ACE_OPENVMS */
+
// Stdout is server skeleton. Do *not* close the file, just open
// again with <ACE_OS::open> with WRITE + APPEND option.. After
// this, remember to update the file offset to the correct location.