{"thread":{"id":"37225","subject":"\"error: Tweaking file descriptors doesn't work with this MSVCRT.dll\" on wine","startedAt":"2014-07-28T10:39:32Z","lastAt":"2014-07-29T19:55:39Z","messageCount":6,"participants":["Duy Nguyen","Torsten Bögershausen","Michael Stefaniuc","Karsten Blees"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"246777","messageId":"CACsJy8DFvTHieQc-nZL2h7JbQYc4Qkbx+Ouc297VpNeU=kNaoQ@mail.gmail.com","threadId":"37225","inReplyTo":null,"subject":"\"error: Tweaking file descriptors doesn't work with this MSVCRT.dll\" on wine","fromName":"Duy Nguyen","fromEmail":"pclouds@gmail.com","sentAt":"2014-07-28T10:39:32Z","receivedAt":"2014-07-28T10:39:32Z","isPatch":false,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"I know wine is kind of second citizen but is there a cheap trick to\nmake it work on wine? Reverting fcd428f (Win32: fix broken pipe\ndetection - 2012-03-01) could result in conflicts in compat that I'm\nnot comfortable resolving. I don't have Windows at home. Wine is the\nonly option for me (or if somebody has a modern.ie image for KVM, or a\nsimple recipe to make one, that'd be great). \"Fix wine\" is not really\nan option.\n-- \nDuy\n"},{"id":"246872","messageId":"53D73F7D.1010902@web.de","threadId":"37225","inReplyTo":"CACsJy8DFvTHieQc-nZL2h7JbQYc4Qkbx+Ouc297VpNeU=kNaoQ@mail.gmail.com","subject":"Re: \"error: Tweaking file descriptors doesn't work with this MSVCRT.dll\" on wine","fromName":"Torsten Bögershausen","fromEmail":"tboegi@web.de","sentAt":"2014-07-29T06:30:21Z","receivedAt":"2014-07-29T06:30:21Z","isPatch":false,"sender":{"key":"tboegi@web.de","avatar":"https://avatars.githubusercontent.com/u/7138363?v=4"},"body":"On 07/28/2014 12:39 PM, Duy Nguyen wrote:\n> I know wine is kind of second citizen but is there a cheap trick to\n> make it work on wine? Reverting fcd428f (Win32: fix broken pipe\n> detection - 2012-03-01) could result in conflicts in compat that I'm\n> not comfortable resolving. I don't have Windows at home. Wine is the\n> only option for me (or if somebody has a modern.ie image for KVM, or a\n> simple recipe to make one, that'd be great). \"Fix wine\" is not really\n> an option.\nIs it only that patch that needs to be reverted to make things work got \nwine?\nFor me It seems as if the patch is not that huge, and manually do a \ncopy-paste\nwith the help of a diff tool can be done.\n\nIt seems as if even both implemenations can live side-by-side in the code.\nAnd if there is a run-time detection for wine, we could switch between the\nold one and the new one which is dependent on how MSVCRT.dll has layed out\ninternal data structures:\n  \"ioinfo structure (exposed by MSVCRT.dll via  __pioinfo\"\n\nSorry being not more helpful\n"},{"id":"246900","messageId":"53D7917B.8060100@redhat.com","threadId":"37225","inReplyTo":"53D73F7D.1010902@web.de","subject":"Re: \"error: Tweaking file descriptors doesn't work with this MSVCRT.dll\" on wine","fromName":"Michael Stefaniuc","fromEmail":"mstefani@redhat.com","sentAt":"2014-07-29T12:20:11Z","receivedAt":"2014-07-29T12:20:11Z","isPatch":false,"sender":{"key":"mstefani@redhat.com","avatar":null},"body":"On 07/29/2014 08:30 AM, Torsten Bögershausen wrote:\n> On 07/28/2014 12:39 PM, Duy Nguyen wrote:\n>> I know wine is kind of second citizen but is there a cheap trick to\n>> make it work on wine? Reverting fcd428f (Win32: fix broken pipe\n>> detection - 2012-03-01) could result in conflicts in compat that I'm\n>> not comfortable resolving. I don't have Windows at home. Wine is the\n>> only option for me (or if somebody has a modern.ie image for KVM, or a\n>> simple recipe to make one, that'd be great). \"Fix wine\" is not really\n>> an option.\nWhy is fixing Wine not an option? The guy working on MSVCRT in Wine is\nvery responsive; all that is needed is just a bug in\nhttps://bugs.winehq.org/ and he'll look at it. Or give me more details\nand I'll create the bug entry.\n\n> Is it only that patch that needs to be reverted to make things work got\n> wine?\n> For me It seems as if the patch is not that huge, and manually do a\n> copy-paste\n> with the help of a diff tool can be done.\n> \n> It seems as if even both implemenations can live side-by-side in the code.\n> And if there is a run-time detection for wine, we could switch between the\nWe frown upon detecting Wine just to workaround bugs there.\nIf one insists on workarounding Wine then please detect the broken\nbehavior instead. That way the app will automatically use the default\ncode path once Wine is fixed.\n\n> old one and the new one which is dependent on how MSVCRT.dll has layed out\n> internal data structures:\n>  \"ioinfo structure (exposed by MSVCRT.dll via  __pioinfo\"\n\nbye\n\tmichael\n"},{"id":"246905","messageId":"CACsJy8Att+O7fF-2mMjqkfm75yXihfJNWutGDAqUkZs34pKLGw@mail.gmail.com","threadId":"37225","inReplyTo":"53D7917B.8060100@redhat.com","subject":"Re: \"error: Tweaking file descriptors doesn't work with this MSVCRT.dll\" on wine","fromName":"Duy Nguyen","fromEmail":"pclouds@gmail.com","sentAt":"2014-07-29T13:05:38Z","receivedAt":"2014-07-29T13:05:38Z","isPatch":false,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"On Tue, Jul 29, 2014 at 7:20 PM, Michael Stefaniuc <mstefani@redhat.com> wrote:\n> On 07/29/2014 08:30 AM, Torsten Bögershausen wrote:\n>> On 07/28/2014 12:39 PM, Duy Nguyen wrote:\n>>> I know wine is kind of second citizen but is there a cheap trick to\n>>> make it work on wine? Reverting fcd428f (Win32: fix broken pipe\n>>> detection - 2012-03-01) could result in conflicts in compat that I'm\n>>> not comfortable resolving. I don't have Windows at home. Wine is the\n>>> only option for me (or if somebody has a modern.ie image for KVM, or a\n>>> simple recipe to make one, that'd be great). \"Fix wine\" is not really\n>>> an option.\n> Why is fixing Wine not an option? The guy working on MSVCRT in Wine is\n> very responsive; all that is needed is just a bug in\n> https://bugs.winehq.org/ and he'll look at it. Or give me more details\n> and I'll create the bug entry.\n\nNot an option as in \"_I_ will be working on it\". I don't suppose lots\nof people use git on wine to be worth the trouble, but then again\nmaking wine msvcrt more compatible is probably a good thing so I'll\nopen a bug for wine.\n-- \nDuy\n"},{"id":"246908","messageId":"53D7A17D.5010206@redhat.com","threadId":"37225","inReplyTo":"CACsJy8Att+O7fF-2mMjqkfm75yXihfJNWutGDAqUkZs34pKLGw@mail.gmail.com","subject":"Re: \"error: Tweaking file descriptors doesn't work with this MSVCRT.dll\" on wine","fromName":"Michael Stefaniuc","fromEmail":"mstefani@redhat.com","sentAt":"2014-07-29T13:28:29Z","receivedAt":"2014-07-29T13:28:29Z","isPatch":false,"sender":{"key":"mstefani@redhat.com","avatar":null},"body":"On 07/29/2014 03:05 PM, Duy Nguyen wrote:\n> On Tue, Jul 29, 2014 at 7:20 PM, Michael Stefaniuc <mstefani@redhat.com> wrote:\n>> On 07/29/2014 08:30 AM, Torsten Bögershausen wrote:\n>>> On 07/28/2014 12:39 PM, Duy Nguyen wrote:\n>>>> I know wine is kind of second citizen but is there a cheap trick to\n>>>> make it work on wine? Reverting fcd428f (Win32: fix broken pipe\n>>>> detection - 2012-03-01) could result in conflicts in compat that I'm\n>>>> not comfortable resolving. I don't have Windows at home. Wine is the\n>>>> only option for me (or if somebody has a modern.ie image for KVM, or a\n>>>> simple recipe to make one, that'd be great). \"Fix wine\" is not really\n>>>> an option.\n>> Why is fixing Wine not an option? The guy working on MSVCRT in Wine is\n>> very responsive; all that is needed is just a bug in\n>> https://bugs.winehq.org/ and he'll look at it. Or give me more details\n>> and I'll create the bug entry.\n> \n> Not an option as in \"_I_ will be working on it\". I don't suppose lots\n> of people use git on wine to be worth the trouble, but then again\n> making wine msvcrt more compatible is probably a good thing so I'll\n> open a bug for wine.\nThanks! This is actually a very important use case for Wine:\nMaking it easy for OSS developers to test the Windows builds of their\nsoftware without having to use Windows.\n\nbye\n\tmichael\n"},{"id":"246940","messageId":"53D7FC3B.9070001@gmail.com","threadId":"37225","inReplyTo":"CACsJy8DFvTHieQc-nZL2h7JbQYc4Qkbx+Ouc297VpNeU=kNaoQ@mail.gmail.com","subject":"Re: \"error: Tweaking file descriptors doesn't work with this MSVCRT.dll\" on wine","fromName":"Karsten Blees","fromEmail":"karsten.blees@gmail.com","sentAt":"2014-07-29T19:55:39Z","receivedAt":"2014-07-29T19:55:39Z","isPatch":false,"sender":{"key":"karsten.blees@gmail.com","avatar":"https://avatars.githubusercontent.com/u/1111200?v=4"},"body":"Am 28.07.2014 12:39, schrieb Duy Nguyen:\n> I know wine is kind of second citizen but is there a cheap trick to\n> make it work on wine? Reverting fcd428f (Win32: fix broken pipe\n> detection - 2012-03-01) could result in conflicts in compat that I'm\n> not comfortable resolving. I don't have Windows at home. Wine is the\n> only option for me (or if somebody has a modern.ie image for KVM, or a\n> simple recipe to make one, that'd be great). \"Fix wine\" is not really\n> an option.\n> \n\nHave you tried using a native msvcrt.dll instead of the Wine stub?\nDownloading msvcrt.dll 7.0.2600 from dll-files.com and extracting it to\n~/.wine/drive_c/Windows/System32 fixed the error message for me.\n\n(The newest versions don't work as they depend on a bunch of other\ndlls that you'd need too.)\n"}]}