VirtualBox

Changeset 80484 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 28, 2019 6:52:54 PM (5 years ago)
Author:
vboxsync
Message:

IPRT/pipe-win.cpp: Don't reject PIPE_TYPE_MESSAGE pipes in RTPipeFromNative, try play along instead. bugref:9397

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/pipe-win.cpp

    r76553 r80484  
    452452    if (!GetNamedPipeInfo(hNative, &fInfo, NULL, NULL, &cMaxInstances))
    453453        return RTErrConvertFromWin32(GetLastError());
    454     AssertReturn(!(fInfo & PIPE_TYPE_MESSAGE), VERR_INVALID_HANDLE);
     454    /* Doesn't seem to matter to much if the pipe is message or byte type. Cygwin
     455       seems to hand us such pipes when capturing output (@bugref{9397}), so just
     456       ignore skip this check:
     457    AssertReturn(!(fInfo & PIPE_TYPE_MESSAGE), VERR_INVALID_HANDLE); */
    455458    AssertReturn(cMaxInstances == 1, VERR_INVALID_HANDLE);
    456459
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