mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 09:59:44 +00:00
show <JUNCTION> "type" in dir listing
svn path=/trunk/; revision=7690
This commit is contained in:
parent
06866a65df
commit
9ef2c888de
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: dir.c,v 1.6 2004/01/16 19:57:13 weiden Exp $
|
/* $Id: dir.c,v 1.7 2004/01/16 19:58:47 weiden Exp $
|
||||||
*
|
*
|
||||||
* DIR.C - dir internal command.
|
* DIR.C - dir internal command.
|
||||||
*
|
*
|
||||||
|
@ -969,7 +969,8 @@ DirList (LPTSTR szPath, LPTSTR szFilespec, LPINT pLine, DWORD dwFlags)
|
||||||
if (file.dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT)
|
if (file.dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT)
|
||||||
{
|
{
|
||||||
ConOutPrintf (_T(" <JUNCTION> "));
|
ConOutPrintf (_T(" <JUNCTION> "));
|
||||||
dircount++;
|
if (file.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
|
||||||
|
dircount++;
|
||||||
}
|
}
|
||||||
else if (file.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
|
else if (file.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue