Dan Kegel : cmd: Make 'dir' hide hidden or system files by default.
Alexandre Julliard
julliard at winehq.org
Fri Sep 25 10:25:02 CDT 2009
Module: wine
Branch: master
Commit: 25efe69d60d98d8b57a1c3ba496bef7414fab106
URL: http://source.winehq.org/git/wine.git/?a=commit;h=25efe69d60d98d8b57a1c3ba496bef7414fab106
Author: Dan Kegel <dank at kegel.com>
Date: Thu Sep 24 10:52:57 2009 -0700
cmd: Make 'dir' hide hidden or system files by default.
---
programs/cmd/directory.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/cmd/directory.c b/programs/cmd/directory.c
index 647f4f1..08c72ae 100644
--- a/programs/cmd/directory.c
+++ b/programs/cmd/directory.c
@@ -680,7 +680,7 @@ void WCMD_directory (WCHAR *cmd) {
orderGroupDirs = FALSE;
orderGroupDirsReverse = FALSE;
showattrs = 0;
- attrsbits = 0;
+ attrsbits = FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_SYSTEM;
/* Handle args - Loop through so right most is the effective one */
/* Note: /- appears to be a negate rather than an off, eg. dir
More information about the wine-cvs
mailing list