comparison src/utils.cc @ 4135:e865976c2084

[project @ 2002-10-30 01:32:43 by jwe]
author jwe
date Wed, 30 Oct 2002 01:32:43 +0000
parents 0435429c1050
children 62afb31c1f85
comparison
equal deleted inserted replaced
4134:76d25b5e6223 4135:e865976c2084
715 { 715 {
716 int retval = -1; 716 int retval = -1;
717 717
718 #if defined (__GNUG__) && !CXX_ISO_COMPLIANT_LIBRARY 718 #if defined (__GNUG__) && !CXX_ISO_COMPLIANT_LIBRARY
719 719
720 os.vform (fmt, args); 720 std::streambuf *sb = os.rdbuf ();
721
722 if (sb)
723 retval = sb->vform (fmt, args);
721 724
722 #else 725 #else
723 726
724 char *s = octave_vsnprintf (fmt, args); 727 char *s = octave_vsnprintf (fmt, args);
725 728