Mercurial > hg > octave-nkf
changeset 2499:20db7604d5c6
[project @ 1996-11-12 06:16:21 by jwe]
author | jwe |
---|---|
date | Tue, 12 Nov 1996 06:16:21 +0000 |
parents | bdd3a3eda123 |
children | e39839e18edc |
files | src/ChangeLog src/load-save.cc |
diffstat | 2 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +Tue Nov 12 00:14:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> + + * load-save.cc (read_binary_data): When reading string arrays, be + sure to create an octave_char_matrix_str object, not just an + octave_char_matrix object. + (read_ascii_data): Likewise. + Mon Nov 11 22:52:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> * load-save.cc (read_binary_data): Don't forget teminating NUL for
--- a/src/load-save.cc +++ b/src/load-save.cc @@ -585,7 +585,7 @@ } if (! error_state) - tc = chm; + tc = octave_value (chm, true); } else error ("load: failed to extract number of string elements"); @@ -894,7 +894,7 @@ chm.insert (tmp, i, 0); delete [] tmp; } - tc = chm; + tc = octave_value (chm, true); } break;