Diff for /parser3/src/classes/table.C between versions 1.268 and 1.269

version 1.268, 2009/09/17 23:32:39 version 1.269, 2009/11/09 00:31:07
Line 9  static const char * const IDENT_TABLE_C= Line 9  static const char * const IDENT_TABLE_C=
   
 #if (!defined(NO_STRINGSTREAM) && !defined(FREEBSD4))  #if (!defined(NO_STRINGSTREAM) && !defined(FREEBSD4))
 #include <sstream>  #include <sstream>
 using namespace std;  
 #endif  #endif
   
 #include "classes.h"  #include "classes.h"
Line 388  static void _load(Request& r, MethodPara Line 387  static void _load(Request& r, MethodPara
   
 #if (!defined(NO_STRINGSTREAM) && !defined(FREEBSD4))  #if (!defined(NO_STRINGSTREAM) && !defined(FREEBSD4))
   
 void maybe_enclose( ostringstream& to, const String& from, char encloser ) {  #include "gc_allocator.h"
   
   typedef std::basic_stringstream<char, std::char_traits<char>, gc_allocator<char> > pa_stringstream;
   typedef std::basic_string<char, std::char_traits<char>, gc_allocator<char> > pa_string;
   
   void maybe_enclose( pa_stringstream& to, const String& from, char encloser ) {
         if(encloser) {          if(encloser) {
                 to<<encloser;                  to<<encloser;
                 // while we have 'encloser'...                  // while we have 'encloser'...
Line 479  static void _save(Request& r, MethodPara Line 483  static void _save(Request& r, MethodPara
   
 #if (!defined(NO_STRINGSTREAM) && !defined(FREEBSD4))  #if (!defined(NO_STRINGSTREAM) && !defined(FREEBSD4))
   
         ostringstream ost(stringstream::out);          pa_stringstream ost(std::stringstream::out);
   
         // process header          // process header
         if(output_column_names) {          if(output_column_names) {
Line 521  static void _save(Request& r, MethodPara Line 525  static void _save(Request& r, MethodPara
   
         // write          // write
         {          {
                 string data=ost.str();                  pa_string data=ost.str();
                 const char* data_cstr=data.c_str();                  const char* data_cstr=data.c_str();
   
                 file_write(r.charsets, file_spec, data_cstr, data.length(), true /* as text */, do_append);                  file_write(r.charsets, file_spec, data_cstr, data.length(), true /* as text */, do_append);

Removed from v.1.268  
changed lines
  Added in v.1.269


E-mail: