dtinfo subtree DtMmdb

This commit is contained in:
Ulrich Wilkens
2012-10-14 15:38:27 +02:00
committed by Jon Trulson
parent b92cf08899
commit 8c8363f4a5
184 changed files with 1090 additions and 773 deletions

View File

@@ -40,7 +40,7 @@ void print_stylesheet(stylesheet_smart_ptr& x, ostream& out)
int compare_stylesheet(stylesheet_smart_ptr& pattern, info_base* base_ptr)
{
char pattern_buf[LARGE_BUFSIZ];
ostrstream pattern_out(pattern_buf, LARGE_BUFSIZ, ios::out);
ostringstream pattern_out(pattern_buf, LARGE_BUFSIZ, ios::out);
print_stylesheet(pattern, pattern_out);
char loc[BUFSIZ];
@@ -48,7 +48,7 @@ int compare_stylesheet(stylesheet_smart_ptr& pattern, info_base* base_ptr)
stylesheet_smart_ptr x( base_ptr, loc );
char db_buf[LARGE_BUFSIZ];
ostrstream db_out(db_buf, LARGE_BUFSIZ, ios::out);
ostringstream db_out(db_buf, LARGE_BUFSIZ, ios::out);
print_stylesheet(x, db_out);
return compare_stream(pattern_out, db_out);