VirtualBox

Ignore:
Timestamp:
Oct 10, 2013 6:27:32 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
89816
Message:

IPRT: Filename extension versus suffix cleanup, long overdue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp

    r47906 r49039  
    323323        if (!format || !*format)
    324324        {
    325             const char *pszExt = RTPathExt(filename);
     325            const char *pszExt = RTPathSuffix(filename);
    326326            /* Skip over . if there is an extension. */
    327327            if (pszExt)
     
    356356    /** @todo use IMediumFormat to cover all extensions generically */
    357357    Utf8Str strName(filename);
    358     if (!RTPathHaveExt(strName.c_str()))
     358    if (!RTPathHasSuffix(strName.c_str()))
    359359    {
    360360        Utf8Str strFormat(format);
Note: See TracChangeset for help on using the changeset viewer.

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