mirror of
https://github.com/reactos/reactos.git
synced 2025-02-20 15:35:04 +00:00
Display junction points
svn path=/trunk/; revision=27643
This commit is contained in:
parent
4aa8a9db0f
commit
a0637bc3ac
1 changed files with 7 additions and 1 deletions
|
@ -1206,7 +1206,13 @@ DirPrintNewList(LPWIN32_FIND_DATA ptrFiles[], /* [IN]Files' Info */
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue