VirtualBox

Changeset 95887 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 28, 2022 1:40:23 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
152618
Message:

IPRT/nocrt: Use r3/stream.cpp instead of the minimalistic one (nocrt-streams-win.cpp). Cred provider needs it. bugref:10261

Location:
trunk/src/VBox/Runtime
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/VBox/Runtime/Makefile.kmk

    r95872 r95887  
    22572257        r3/alloc.cpp \
    22582258        r3/alloc-ef.cpp \
    2259         r3/stream.cpp \
    22602259        common/misc/json.cpp \
    22612260        generic/RTLogWriteStdErr-generic.cpp \
     
    23142313        r3/win/nocrt-startup-common-win.cpp \
    23152314        r3/win/nocrt-alloc-win.cpp \
    2316         r3/win/nocrt-streams-win.cpp \
    23172315       generic/new-delete-generic.cpp
    23182316endif
  • TabularUnified trunk/src/VBox/Runtime/r3/win/nocrt-startup-dll-win.cpp

    r95870 r95887  
    5858*   Internal Functions                                                                                                           *
    5959*********************************************************************************************************************************/
    60 extern DECLHIDDEN(void) InitStdHandles(PRTL_USER_PROCESS_PARAMETERS pParams); /* nocrt-streams-win.cpp */ /** @todo put in header */
    61 
    6260extern "C" BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID pvReserved);
    6361
     
    7775    if (g_cAttached == 0)
    7876    {
    79         PPEB pPeb = RTNtCurrentPeb();
    80         InitStdHandles(pPeb->ProcessParameters);
    8177        rtVccWinInitProcExecPath();
    8278
  • TabularUnified trunk/src/VBox/Runtime/r3/win/nocrt-startup-exe-win.cpp

    r95872 r95887  
    4747*   External Symbols                                                                                                             *
    4848*********************************************************************************************************************************/
     49extern int main(int argc, char **argv, char **envp);    /* in program */
     50#ifdef IPRT_NO_CRT
    4951extern DECLHIDDEN(void) InitStdHandles(PRTL_USER_PROCESS_PARAMETERS pParams); /* nocrt-streams-win.cpp */ /** @todo put in header */
    50 
    51 extern int main(int argc, char **argv, char **envp);    /* in program */
     52#endif
    5253
    5354
     
    8283#ifdef IPRT_NO_CRT
    8384    rtVccInitSecurityCookie();
     85#else
     86    InitStdHandles(pPeb->ProcessParameters);
    8487#endif
    85     InitStdHandles(pPeb->ProcessParameters);
    8688    rtVccWinInitProcExecPath();
    8789
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