summaryrefslogtreecommitdiff
path: root/ace/IOStream.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-02-10 21:00:22 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-02-10 21:00:22 +0000
commit377e035f0e4c622bf1bf2621c60669072fe4fa00 (patch)
tree5b8e7124172576c832759e23e7e99695800eecea /ace/IOStream.cpp
parent3baa0433886c205703744e95d5864f09604fd886 (diff)
downloadATCD-377e035f0e4c622bf1bf2621c60669072fe4fa00.tar.gz
fixed setp () calls, now it works with floats with Sun C++!
Diffstat (limited to 'ace/IOStream.cpp')
-rw-r--r--ace/IOStream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/IOStream.cpp b/ace/IOStream.cpp
index c61abe24f59..990be3d92c4 100644
--- a/ace/IOStream.cpp
+++ b/ace/IOStream.cpp
@@ -237,7 +237,7 @@ ACE_Streambuf<STREAM>::overflow (int c)
// Reconfigure base () and restore the put pointers.
setb (pbase_saved_, pbase_saved_ + ACE_STREAMBUF_SIZE, 0);
- setp (pbase_saved_, epptr_saved_);
+ setp (base (), ebuf ());
// Save the new mode.
this->cur_mode_ = this->put_mode_;
@@ -335,7 +335,7 @@ ACE_Streambuf<STREAM>::flushbuf (void)
// Now that we've sent everything in the output buffer, we reset the
// buffer pointers to appear empty.
//
- setp (base (), base ());
+ setp (base (), ebuf ());
return 0;
}