VirtualBox

Changeset 39169 in vbox


Ignore:
Timestamp:
Nov 2, 2011 7:17:45 AM (13 years ago)
Author:
vboxsync
Message:

VBoxManage: Allow 'convertfromraw stdin' on Windows.

Location:
trunk/src/VBox/Frontends/VBoxManage
Files:
2 edited

Legend:

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

    r38787 r39169  
    797797                {
    798798                    srcfilename = ValueUnion.psz;
    799 // If you change the OS list here don't forget to update VBoxManageHelp.cpp.
    800 #ifndef RT_OS_WINDOWS
    801799                    fReadFromStdIn = !strcmp(srcfilename, "stdin");
    802 #endif
    803800                }
    804801                else if (!dstfilename)
     
    834831    RTFILE File;
    835832    if (fReadFromStdIn)
    836         File = 0;
     833        rc = RTFileFromNative(&File, RTFILE_NATIVE_STDIN);
    837834    else
    838835        rc = RTFileOpen(&File, srcfilename, RTFILE_O_READ | RTFILE_O_OPEN | RTFILE_O_DENY_WRITE);
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r39168 r39169  
    547547                     "                            [--variant Standard,Fixed,Split2G,Stream,ESX]\n"
    548548                     "                            [--uuid <uuid>]\n"
    549 #ifndef RT_OS_WINDOWS
    550549                     "VBoxManage convertfromraw   stdin <outputfile> <bytes>\n"
    551550                     "                            [--format VDI|VMDK|VHD]\n"
    552551                     "                            [--variant Standard,Fixed,Split2G,Stream,ESX]\n"
    553552                     "                            [--uuid <uuid>]\n"
    554 #endif
    555553                     "\n");
    556554
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