VirtualBox

Changeset 4395 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 27, 2007 8:57:01 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
23958
Message:

use strstr to compare for iso9660 to cover fs types like "udf,iso9660"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/HostImpl.cpp

    r4096 r4395  
    18471847                        tmp = strchr(mnt_type, ',');
    18481848                        if (tmp)
    1849                         {
    18501849                            *tmp = '\0';
    1851                         }
    18521850                    }
    18531851                }
     
    18611859                        tmp = strchr(mnt_dev, ',');
    18621860                        if (tmp)
    1863                         {
    18641861                            *tmp = '\0';
    1865                         }
    18661862                    }
    18671863                }
    18681864            }
    1869             if (strcmp(mnt_type, "iso9660") == 0)
     1865            // use strstr here to cover things fs types like "udf,iso9660"
     1866            if (strstr(mnt_type, "iso9660") == 0)
    18701867            {
    18711868                /** @todo check whether we've already got the drive in our list! */
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