changeset 3670:0287dfeb1f34

[project @ 2000-05-24 18:41:37 by jwe]
author jwe
date Wed, 24 May 2000 18:41:38 +0000
parents 9debe1be75a5
children 25b06b7222f6
files liboctave/ChangeLog liboctave/oct-rl-edit.c scripts/ChangeLog scripts/strings/strrep.m
diffstat 4 files changed, 13 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/ChangeLog
+++ b/liboctave/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-20  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen
+	instead of rl_clear_screen.
+
 2000-05-11  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* Array-d.cc: Instantiate ArrayN<double> here too.
--- a/liboctave/oct-rl-edit.c
+++ b/liboctave/oct-rl-edit.c
@@ -68,7 +68,9 @@
 void
 octave_rl_clear_screen (void)
 {
-  rl_clear_screen ();
+  extern void _rl_clear_screen ();
+
+  _rl_clear_screen ();
 }
 
 void
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-24  Ben Sapp <bsapp@nua.lampf.lanl.gov>
+
+	* strings/strrep.m: Fix typo.
+
 2000-05-13  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* strings/strrep.m: Don't transpose result for case of jump > 0.
--- a/scripts/strings/strrep.m
+++ b/scripts/strings/strrep.m
@@ -74,7 +74,7 @@
     ## target positions to account for any expansion or contraction
     ## of s that may have occurred.
     ind = ind + jump * [0:length(ind)-1];
-    repeat = [1:length(y))]' * ones (1, length (ind));
+    repeat = [1:length(y)]' * ones (1, length (ind));
     dest = ones (length (y), 1) * ind + repeat - 1;
     t (dest) = y (repeat);
   else                        # deletion