# HG changeset patch # User jwe # Date 1134499460 0 # Node ID 9b4d9dbe88f7a19ee052e6099e917dc642c3ff49 # Parent 234751865ca203f963f5f375235b0ee36c06ba51 [project @ 2005-12-13 18:44:20 by jwe] diff -r 234751865ca2 -r 9b4d9dbe88f7 src/ChangeLog --- a/src/ChangeLog Tue Dec 13 17:50:05 2005 +0000 +++ b/src/ChangeLog Tue Dec 13 18:44:20 2005 +0000 @@ -1,3 +1,8 @@ +2005-12-13 John W. Eaton + + * oct-stream.cc (octave_stream_list::do_insert): Check open state + of stream in list instead of whether stream state is OK. + 2005-12-12 David Bateman * OPERATORS/op-struct.cc (transpose): New function. diff -r 234751865ca2 -r 9b4d9dbe88f7 src/oct-stream.cc --- a/src/oct-stream.cc Tue Dec 13 17:50:05 2005 +0000 +++ b/src/oct-stream.cc Tue Dec 13 18:44:20 2005 +0000 @@ -3941,7 +3941,7 @@ { octave_stream tmp = list(i); - if (! tmp) + if (! tmp.is_open ()) { list(i) = os; stream_number = i;