Re: shell32: Make ShellExecute use native file association databases as fallback path (resend)

2012-08-28 Thread Alexandre Julliard
Erik van Pienbroek writes: > +#if defined(HAVE_FORK) && defined(HAVE_WAITPID) > +static UINT_PTR SHELL_try_native_execute ( const char *openCmd, const char > *unixName ) > +{ > +UINT_PTR retval = SE_ERR_NOASSOC; > +pid_t cpid; > +struct stat st; > + > +if (stat(openCmd, &st) == -

Re: shell32: Make ShellExecute use native file association databases as fallback path (try 2)

2012-06-20 Thread Francois Gouget
On Tue, 19 Jun 2012, Erik van Pienbroek wrote: [...] > Additionally a check is added to make sure no recursive loop is > triggered when the native file association database points back to > wine and the fallback path is triggered again This looks much better. [...] > @@ -1911,6 +1944,44 @@ sta

Re: shell32: Make ShellExecute use native file association databases as fallback path

2012-06-02 Thread Francois Gouget
On Thu, 31 May 2012, Erik van Pienbroek wrote: [...] > Tested successfully on a Fedora 17 environment using the start.exe > command and Outlook 2007 by trying to open a .pdf file (where there > is no file association registered inside the wine prefix) There are two issues with this patch: * In so