dtinfo subtree DtMmdb
This commit is contained in:
committed by
Jon Trulson
parent
b92cf08899
commit
8c8363f4a5
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user