Author: weiden
Date: Sat Jul 14 11:16:05 2007
New Revision: 27643
URL:
http://svn.reactos.org/svn/reactos?rev=27643&view=rev
Log:
Display junction points
Modified:
trunk/reactos/base/shell/cmd/dir.c
Modified: trunk/reactos/base/shell/cmd/dir.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/dir.c?rev=2…
==============================================================================
--- trunk/reactos/base/shell/cmd/dir.c (original)
+++ trunk/reactos/base/shell/cmd/dir.c Sat Jul 14 11:16:05 2007
@@ -1206,7 +1206,13 @@
for (i = 0;i < dwCount;i++)
{
/* Calculate size */
- if (ptrFiles[i]->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
+ if (ptrFiles[i]->dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT)
+ {
+ /* Junction */
+ iSizeFormat = -14;
+ _tcscpy(szSize, _T("<JUNCTION>"));
+ }
+ else if (ptrFiles[i]->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
{
/* Directory */
iSizeFormat = -14;