VirtualBox

Changeset 95980 in vbox


Ignore:
Timestamp:
Aug 2, 2022 7:27:38 AM (2 years ago)
Author:
vboxsync
Message:

IPRT/stream.cpp: Re-did the mode string handling in RTStrmOpen, switching to use fdopen instead of fopen, adding a few new options. [build fix] bugref:10261

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/stream.cpp

    r95979 r95980  
    488488                        : RTFILE_O_CREATE         | RTFILE_O_WRITE; break;
    489489        case 'r': fOpen = RTFILE_O_OPEN           | RTFILE_O_READ; break;
    490         default:  AssertMsgReturn(chMode, ("No main mode (a|r|w) specified in '%s'!\n", pszMode), VERR_INVALID_FLAGS);
     490        default:  AssertMsgFailedReturn(("No main mode (a|r|w) specified in '%s'!\n", pszMode), VERR_INVALID_FLAGS);
    491491    }
    492492    AssertMsgReturn(!fExclusive || chMode == 'w', ("the 'x' flag is only allowed with 'w'! (%s)\n", pszMode),
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