mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
show <JUNCTION> "type" in dir listing
svn path=/trunk/; revision=7689
This commit is contained in:
parent
660a7812d3
commit
06866a65df
1 changed files with 7 additions and 2 deletions
|
@ -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(" <JUNCTION> "));
|
||||
dircount++;
|
||||
}
|
||||
else if (file.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
|
||||
{
|
||||
ConOutPrintf (_T(" <DIR> "));
|
||||
dircount++;
|
||||
|
|
Loading…
Reference in a new issue