https://bugs.winehq.org/show_bug.cgi?id=39452
Bug ID: 39452 Summary: WNetGetUniversalName() returns ERROR_NO_NETWORK (0x000004c6) Product: Wine Version: 1.7.52 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: alexey.pushkin@mererand.com Distribution: ---
WNetGetUniversalName() is a stub function and it returns ERROR_NO_NETWORK (0x000004c6).
I believe it should instead return ERROR_NOT_CONNECTED, which would mean that Wine treats the path argument as a _local_ path.
See https://msdn.microsoft.com/en-us/library/windows/desktop/aa385474%28v=vs.85%...
According to WINEDEBUG=relay Intel MPI (https://software.intel.com/en-us/intel-mpi-library) pmi_proxy.exe exits after receiving ERROR_NOT_CONNECTED from WNetGetUniversalName().
https://bugs.winehq.org/show_bug.cgi?id=39452
alexey.pushkin@mererand.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|WNetGetUniversalName() |mpr.WNetGetUniversalName() |returns ERROR_NO_NETWORK |returns ERROR_NO_NETWORK |(0x000004c6) |(0x000004c6)
https://bugs.winehq.org/show_bug.cgi?id=39452
--- Comment #1 from alexey.pushkin@mererand.com --- If the function returned ERROR_NOT_CONNECTED the calling programs would be happy to know that the path is normal local file and just go ahead instead of failing.
https://bugs.winehq.org/show_bug.cgi?id=39452
alexey.pushkin@mererand.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|mpr.WNetGetUniversalName() |mpr.WNetGetUniversalName() |returns ERROR_NO_NETWORK |returns value |(0x000004c6) |
https://bugs.winehq.org/show_bug.cgi?id=39452
alexey.pushkin@mererand.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|mpr.WNetGetUniversalName() |mpr.WNetGetUniversalName() |returns value |return value
https://bugs.winehq.org/show_bug.cgi?id=39452
--- Comment #2 from alexey.pushkin@mererand.com --- The other way around: ERROR_NOT_CONNECTED, meaning that the file is local, is IMHO _the_ correct answer in Wine. I think, that if the return value is changed, then the function qualifies for a real one rather than a stub.
https://bugs.winehq.org/show_bug.cgi?id=39452
alexey.pushkin@mererand.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|mpr.WNetGetUniversalName() |mpr.WNetGetUniversalName() |return value |return value (causes Intel | |MPI to fail)
https://bugs.winehq.org/show_bug.cgi?id=39452
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |STAGED CC| |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de Ever confirmed|0 |1 Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/mpr-WNetGetUni | |versalNameW
https://bugs.winehq.org/show_bug.cgi?id=39452
--- Comment #3 from Sebastian Lackner sebastian@fds-team.de --- Does the staged patch help?
https://bugs.winehq.org/show_bug.cgi?id=39452
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=39452
--- Comment #4 from alexey.pushkin@mererand.com --- Yes it does, thank you.
IMPI still doesn't work:( but it goes much further before it dies:).
https://bugs.winehq.org/show_bug.cgi?id=39452
Detlef Riekenberg wine.dev@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine.dev@web.de
https://bugs.winehq.org/show_bug.cgi?id=39452
--- Comment #5 from Gijs Vermeulen gijsvrm@gmail.com --- This should be fixed by: https://source.winehq.org/git/wine.git/commit/31e5b4e5ee385e3d955545fbfa8ec7...
(Staging patch was upstreamed)
https://bugs.winehq.org/show_bug.cgi?id=39452
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |31e5b4e5ee385e3d955545fbfa8 | |ec79b77819b2a Status|STAGED |RESOLVED Resolution|--- |FIXED CC| |z.figura12@gmail.com
--- Comment #6 from Zebediah Figura z.figura12@gmail.com --- Marking fixed, https://source.winehq.org/git/wine.git/commit/31e5b4e5ee385e3d955545fbfa8ec7....
https://bugs.winehq.org/show_bug.cgi?id=39452
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.6.
https://bugs.winehq.org/show_bug.cgi?id=39452
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=39452
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #8 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bugs included in 3.0.2.
https://bugs.winehq.org/show_bug.cgi?id=39452
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |mpr