VirtualBox

Changeset 29769 in vbox


Ignore:
Timestamp:
May 25, 2010 8:34:36 AM (15 years ago)
Author:
vboxsync
Message:

filesplitter: need to test bit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bldprogs/filesplitter.cpp

    r29715 r29769  
    5656        struct stat lStat;
    5757        if (    stat(argv[2], &lStat) != 0
    58              || (lStat.st_mode & S_IFMT) != S_IFDIR)
     58                || ((lStat.st_mode & S_IFDIR) == 0))
    5959        {
    6060            fprintf(stderr, "filesplitter: Given argument \"%s\" is not a valid directory.\n", argv[2]);
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