mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 21:46:05 +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++)
|
for (i = 0;i < dwCount;i++)
|
||||||
{
|
{
|
||||||
/* Calculate size */
|
/* 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 */
|
/* Directory */
|
||||||
iSizeFormat = -14;
|
iSizeFormat = -14;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue