changeset 6665:cfb849d6f314

[project @ 2007-05-28 05:45:32 by jwe]
author jwe
date Mon, 28 May 2007 05:46:28 +0000
parents c6e7b03af779
children 5d4ce539004f
files doc/interpreter/preface.txi src/ChangeLog src/file-io.cc src/pt-loop.cc
diffstat 4 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/preface.txi	Thu May 24 21:59:12 2007 +0000
+++ b/doc/interpreter/preface.txi	Mon May 28 05:46:28 2007 +0000
@@ -59,7 +59,7 @@
 
 Many people have already contributed to Octave's development.  The
 following people have helped write parts of Octave or helped out in
-various other ways (listed alphbetically).
+various other ways (listed alphabetically).
 
 @include contributors.texi
 
--- a/src/ChangeLog	Thu May 24 21:59:12 2007 +0000
+++ b/src/ChangeLog	Mon May 28 05:46:28 2007 +0000
@@ -1,3 +1,7 @@
+2007-05-28  John W. Eaton  <jwe@octave.org>
+
+	* pt-loop.cc (DO_ND_LOOP): Avoid parser problem with obsolete g++.
+
 2007-05-23  John W. Eaton  <jwe@octave.org>
 
 	* version.h (OCTAVE_VERSION): Now 2.9.12+.
--- a/src/file-io.cc	Thu May 24 21:59:12 2007 +0000
+++ b/src/file-io.cc	Mon May 28 05:46:28 2007 +0000
@@ -558,7 +558,7 @@
 \"b\" to open in binary mode.  On Windows and Macintosh systems, text\n\
 mode reading and writing automatically converts linefeeds to the\n\
 appropriate line end character for the system (carriage-return linefeed\n\
-on Windows, carriage-returnn on Macintosh).  The default if no mode is\n\
+on Windows, carriage-return on Macintosh).  The default if no mode is\n\
 specified is binary mode.\n\
 \n\
 Additionally, you may append a \"z\" to the mode string to open a\n\
--- a/src/pt-loop.cc	Thu May 24 21:59:12 2007 +0000
+++ b/src/pt-loop.cc	Mon May 28 05:46:28 2007 +0000
@@ -263,7 +263,9 @@
 	{ \
           if (nrows == 0) \
             { \
-	      octave_value val (MTYPE (dim_vector (0, 1))); \
+	      MTYPE tarray (dim_vector (0, 1)); \
+ \
+	      octave_value val (tarray); \
  \
 	      for (octave_idx_type i = 0; i < steps; i++) \
 		{ \