- Timestamp:
- Mar 5, 2018 9:06:41 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/path/RTPathRmCmd.cpp
r69753 r71217 1 1 /* $Id$ */ 2 2 /** @file 3 * IPRT - TARCommand.3 * IPRT - RM Command. 4 4 */ 5 5 6 6 /* 7 * Copyright (C) 2013-201 7Oracle Corporation7 * Copyright (C) 2013-2018 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 568 568 break; 569 569 570 571 570 case RTPATHRMCMD_OPT_MACHINE_READABLE: 572 571 Opts.fMachineReadable = true; … … 610 609 if (Opts.fMachineReadable) 611 610 { 612 rc= RTStrmSetMode(g_pStdOut, true /*fBinary*/, false /*fCurrentCodeSet*/);613 if (RT_FAILURE(rc ))614 return RTMsgErrorExit(RTEXITCODE_FAILURE, "RTStrmSetMode failed: %Rrc.\n", rc );611 int rc2 = RTStrmSetMode(g_pStdOut, true /*fBinary*/, false /*fCurrentCodeSet*/); 612 if (RT_FAILURE(rc2)) 613 return RTMsgErrorExit(RTEXITCODE_FAILURE, "RTStrmSetMode failed: %Rrc.\n", rc2); 615 614 static const char s_achHeader[] = "hdr_id=rm\0hdr_ver=1"; 616 615 RTStrmWrite(g_pStdOut, s_achHeader, sizeof(s_achHeader));
Note:
See TracChangeset
for help on using the changeset viewer.