[project @ 2002-10-30 01:32:43 by jwe]
author |
jwe |
date |
Wed, 30 Oct 2002 01:32:43 +0000 |
parents |
76d25b5e6223 |
children |
c06ee5520e4f |
files |
src/ChangeLog src/utils.cc |
diffstat |
2 files changed, 7 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -2,6 +2,9 @@
* version.h (OCTAVE_VERSION): Now 2.1.38.
+ * utils.cc (octave_vformat): Get return value from
+ streambuf::vform.
+
* DLD-FUNCTIONS/fsolve.cc (Ffsolve): Always return solution.
Don't barf on nargout == 3.
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -717,7 +717,10 @@
#if defined (__GNUG__) && !CXX_ISO_COMPLIANT_LIBRARY
- os.vform (fmt, args);
+ std::streambuf *sb = os.rdbuf ();
+
+ if (sb)
+ retval = sb->vform (fmt, args);
#else