changeset 6117:45e37d4f324e

[project @ 2006-10-27 21:41:54 by jwe]
author jwe
date Fri, 27 Oct 2006 21:41:54 +0000
parents b64fb24bf4a0
children 2803c70d8d01
files scripts/ChangeLog scripts/miscellaneous/ls_command.m
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Fri Oct 27 18:04:50 2006 +0000
+++ b/scripts/ChangeLog	Fri Oct 27 21:41:54 2006 +0000
@@ -1,5 +1,8 @@
 2006-10-27  John W. Eaton  <jwe@octave.org>
 
+	* miscellaneous/ls_command.m: Use /D instead of /w.
+	From Michael Goffioul <michael.goffioul@swing.be>.
+
 	* miscellaneous/ls.m, miscellaneous/ls_command.m: New files.
 	* miscellaneous/dir.m: Mark as a command.
 
--- a/scripts/miscellaneous/ls_command.m	Fri Oct 27 18:04:50 2006 +0000
+++ b/scripts/miscellaneous/ls_command.m	Fri Oct 27 21:41:54 2006 +0000
@@ -34,7 +34,7 @@
   if (isempty (__ls_command__))
     ## FIXME -- ispc and isunix both return true for Cygwin.  Should they?
     if (ispc () && ! isunix () && isempty (file_in_path (EXEC_PATH, "ls")))
-      __ls_command__ = "cmd /C dir /w";
+      __ls_command__ = "cmd /C dir /D";
     else
       __ls_command__ = "ls -C";
     endif