mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
Display junction points
svn path=/trunk/; revision=27643
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user