VirtualBox

Changeset 44279 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Jan 13, 2013 8:58:30 PM (12 years ago)
Author:
vboxsync
Message:

One important thing I forgot.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/path/RTPathRmCmd.cpp

    r44278 r44279  
    303303        }
    304304
     305        /* Skip '.' and '..'. */
     306        if (   pDirEntry->szName[0] == '.'
     307            && (   pDirEntry->cbName == 1
     308                || (   pDirEntry->cbName == 2
     309                    && pDirEntry->szName[1] == '.')))
     310            continue;
     311
     312        /* Construct full path. */
    305313        if (cchPath + pDirEntry->cbName > RTPATH_MAX)
    306314        {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette