From 06866a65df77804375f3ff5d0b26d73d02968d34 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Fri, 16 Jan 2004 19:57:13 +0000 Subject: [PATCH] show "type" in dir listing svn path=/trunk/; revision=7689 --- reactos/subsys/system/cmd/dir.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/system/cmd/dir.c b/reactos/subsys/system/cmd/dir.c index b2c680501be..71c6e24875d 100644 --- a/reactos/subsys/system/cmd/dir.c +++ b/reactos/subsys/system/cmd/dir.c @@ -1,4 +1,4 @@ -/* $Id: dir.c,v 1.5 2003/12/14 22:51:52 hbirr Exp $ +/* $Id: dir.c,v 1.6 2004/01/16 19:57:13 weiden Exp $ * * DIR.C - dir internal command. * @@ -966,7 +966,12 @@ DirList (LPTSTR szPath, LPTSTR szFilespec, LPINT pLine, DWORD dwFlags) } /* print file size */ - if (file.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) + if (file.dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT) + { + ConOutPrintf (_T(" ")); + dircount++; + } + else if (file.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) { ConOutPrintf (_T(" ")); dircount++;