mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 19:02:32 +00:00
Display junction points
svn path=/trunk/; revision=27643
This commit is contained in:
parent
4aa8a9db0f
commit
a0637bc3ac
|
@ -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