changeset 5499:9e3efbc3070a

[project @ 2005-10-17 20:11:52 by jwe]
author jwe
date Mon, 17 Oct 2005 20:11:52 +0000
parents 3b3e8b7f0800
children 709307492cd7
files ChangeLog src/ChangeLog src/DLD-FUNCTIONS/sort.cc test/octave.test/system/mk-rm-dir-1.m test/octave.test/system/system.exp
diffstat 5 files changed, 17 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-10-17  Paul Kienzle <pkienzle@users.sf.net>
+
+	* octave.test/system/system.exp: rmdir no longer prints a
+	message if the directory does not exist.
+
+	* octave.test/system/mk-rm-dir-1.m: mkdir/rmdir return 1
+	on success and 0 on failure.
+
 2005-10-17  John W. Eaton  <jwe@octave.org>
 
 	* configure.in (F77_FFLOAT_STORE_FLAG):
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2005-10-17  Keith Goodman  <kwgoodman@gmail.com>
+
+	* DLD-FUNCTIONS/sort.cc: Doc string fix.
+	
 2005-10-17  John W. Eaton  <jwe@octave.org>
 
 	* oct-conf.h.in (OCTAVE_CONF_F77_FLOAT_STORE_FLAG): Substitute
--- a/src/DLD-FUNCTIONS/sort.cc
+++ b/src/DLD-FUNCTIONS/sort.cc
@@ -683,9 +683,8 @@
 @deftypefnx {Loadable Function} {[@var{s}, @var{i}] =} sort (@var{x}, @var{dim})\n\
 @deftypefnx {Loadable Function} {[@var{s}, @var{i}] =} sort (@var{x}, @var{mode})\n\
 @deftypefnx {Loadable Function} {[@var{s}, @var{i}] =} sort (@var{x}, @var{dim}, @var{mode})\n\
-Return a copy of @var{x} with the elements elements arranged in\n\
-increasing order.  For matrices, @code{sort} orders the elements in each\n\
-column.\n\
+Return a copy of @var{x} with the elements arranged in increasing\n\
+order.  For matrices, @code{sort} orders the elements in each column.\n\
 \n\
 For example,\n\
 \n\
@@ -723,7 +722,7 @@
 in the order that appeared in the original list.\n\
 \n\
 The @code{sort} function may also be used to sort strings and cell arrays\n\
-of strings, it which case the dictionary order of the strings is used.\n\
+of strings, in which case the dictionary order of the strings is used.\n\
 \n\
 The algorithm used in @code{sort} is optimized for the sorting of partially\n\
 ordered lists.\n\
--- a/test/octave.test/system/mk-rm-dir-1.m
+++ b/test/octave.test/system/mk-rm-dir-1.m
@@ -3,4 +3,4 @@
 [s2, e2] = stat (nm);
 e3 = rmdir (nm);
 [s4, e4] = stat (nm);
-(! e1 && strcmp (s2.modestr(1), "d") && ! e3 && e4 < 0)
+(e1 && strcmp (s2.modestr(1), "d") && e3 && e4 < 0)
--- a/test/octave.test/system/system.exp
+++ b/test/octave.test/system/system.exp
@@ -208,7 +208,7 @@
 do_test rmdir-1.m
 
 set test rmdir-2
-set prog_output "\n... rmdir:.*"
+set prog_output "ans = 0"
 do_test rmdir-2.m
 
 set test umask-1