Re: error: Tweaking file descriptors doesn't work with this MSVCRT.dll on wine
On 07/28/2014 12:39 PM, Duy Nguyen wrote: I know wine is kind of second citizen but is there a cheap trick to make it work on wine? Reverting fcd428f (Win32: fix broken pipe detection - 2012-03-01) could result in conflicts in compat that I'm not comfortable resolving. I don't have Windows at home. Wine is the only option for me (or if somebody has a modern.ie image for KVM, or a simple recipe to make one, that'd be great). Fix wine is not really an option. Is it only that patch that needs to be reverted to make things work got wine? For me It seems as if the patch is not that huge, and manually do a copy-paste with the help of a diff tool can be done. It seems as if even both implemenations can live side-by-side in the code. And if there is a run-time detection for wine, we could switch between the old one and the new one which is dependent on how MSVCRT.dll has layed out internal data structures: ioinfo structure (exposed by MSVCRT.dll via __pioinfo Sorry being not more helpful -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: error: Tweaking file descriptors doesn't work with this MSVCRT.dll on wine
On 07/29/2014 08:30 AM, Torsten Bögershausen wrote: On 07/28/2014 12:39 PM, Duy Nguyen wrote: I know wine is kind of second citizen but is there a cheap trick to make it work on wine? Reverting fcd428f (Win32: fix broken pipe detection - 2012-03-01) could result in conflicts in compat that I'm not comfortable resolving. I don't have Windows at home. Wine is the only option for me (or if somebody has a modern.ie image for KVM, or a simple recipe to make one, that'd be great). Fix wine is not really an option. Why is fixing Wine not an option? The guy working on MSVCRT in Wine is very responsive; all that is needed is just a bug in https://bugs.winehq.org/ and he'll look at it. Or give me more details and I'll create the bug entry. Is it only that patch that needs to be reverted to make things work got wine? For me It seems as if the patch is not that huge, and manually do a copy-paste with the help of a diff tool can be done. It seems as if even both implemenations can live side-by-side in the code. And if there is a run-time detection for wine, we could switch between the We frown upon detecting Wine just to workaround bugs there. If one insists on workarounding Wine then please detect the broken behavior instead. That way the app will automatically use the default code path once Wine is fixed. old one and the new one which is dependent on how MSVCRT.dll has layed out internal data structures: ioinfo structure (exposed by MSVCRT.dll via __pioinfo bye michael -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: error: Tweaking file descriptors doesn't work with this MSVCRT.dll on wine
On Tue, Jul 29, 2014 at 7:20 PM, Michael Stefaniuc mstef...@redhat.com wrote: On 07/29/2014 08:30 AM, Torsten Bögershausen wrote: On 07/28/2014 12:39 PM, Duy Nguyen wrote: I know wine is kind of second citizen but is there a cheap trick to make it work on wine? Reverting fcd428f (Win32: fix broken pipe detection - 2012-03-01) could result in conflicts in compat that I'm not comfortable resolving. I don't have Windows at home. Wine is the only option for me (or if somebody has a modern.ie image for KVM, or a simple recipe to make one, that'd be great). Fix wine is not really an option. Why is fixing Wine not an option? The guy working on MSVCRT in Wine is very responsive; all that is needed is just a bug in https://bugs.winehq.org/ and he'll look at it. Or give me more details and I'll create the bug entry. Not an option as in _I_ will be working on it. I don't suppose lots of people use git on wine to be worth the trouble, but then again making wine msvcrt more compatible is probably a good thing so I'll open a bug for wine. -- Duy -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: error: Tweaking file descriptors doesn't work with this MSVCRT.dll on wine
On 07/29/2014 03:05 PM, Duy Nguyen wrote: On Tue, Jul 29, 2014 at 7:20 PM, Michael Stefaniuc mstef...@redhat.com wrote: On 07/29/2014 08:30 AM, Torsten Bögershausen wrote: On 07/28/2014 12:39 PM, Duy Nguyen wrote: I know wine is kind of second citizen but is there a cheap trick to make it work on wine? Reverting fcd428f (Win32: fix broken pipe detection - 2012-03-01) could result in conflicts in compat that I'm not comfortable resolving. I don't have Windows at home. Wine is the only option for me (or if somebody has a modern.ie image for KVM, or a simple recipe to make one, that'd be great). Fix wine is not really an option. Why is fixing Wine not an option? The guy working on MSVCRT in Wine is very responsive; all that is needed is just a bug in https://bugs.winehq.org/ and he'll look at it. Or give me more details and I'll create the bug entry. Not an option as in _I_ will be working on it. I don't suppose lots of people use git on wine to be worth the trouble, but then again making wine msvcrt more compatible is probably a good thing so I'll open a bug for wine. Thanks! This is actually a very important use case for Wine: Making it easy for OSS developers to test the Windows builds of their software without having to use Windows. bye michael -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: error: Tweaking file descriptors doesn't work with this MSVCRT.dll on wine
Am 28.07.2014 12:39, schrieb Duy Nguyen: I know wine is kind of second citizen but is there a cheap trick to make it work on wine? Reverting fcd428f (Win32: fix broken pipe detection - 2012-03-01) could result in conflicts in compat that I'm not comfortable resolving. I don't have Windows at home. Wine is the only option for me (or if somebody has a modern.ie image for KVM, or a simple recipe to make one, that'd be great). Fix wine is not really an option. Have you tried using a native msvcrt.dll instead of the Wine stub? Downloading msvcrt.dll 7.0.2600 from dll-files.com and extracting it to ~/.wine/drive_c/Windows/System32 fixed the error message for me. (The newest versions don't work as they depend on a bunch of other dlls that you'd need too.) -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html