Patch is ok. Regards, Kai
2014-11-12 3:31 GMT+01:00 宋冬生 <[email protected]>: > ping ? > > On Tue, Nov 11, 2014 at 4:29 PM, 宋冬生 <[email protected]> wrote: >> >> See: http://msdn.microsoft.com/en-us/library/wweek9sc.aspx >> >> _wspawnl in <stdio.h> or <wchar.h>, <stdio.h> in the first place. >> >> -- >> Dongsheng >> >> On Tue, Nov 11, 2014 at 4:26 PM, Kai Tietz <[email protected]> wrote: >> > Hmm, not sure if that is right. >> > >> > I will need to investigate a bit more. >> > >> > Kai >> > >> > PS: My mailer sends mail by itself ... sorry >> > >> > 2014-11-11 9:25 GMT+01:00 Kai Tietz <[email protected]>: >> >> Hmm, n >> >> >> >> 2014-11-11 7:06 GMT+01:00 <[email protected]>: >> >>> From: 宋冬生 <[email protected]> >> >>> >> >>> See http://msdn.microsoft.com/en-us/library/20y988d2.aspx >> >>> for more details. >> >>> --- >> >>> mingw-w64-headers/crt/process.h | 11 ++++++++--- >> >>> mingw-w64-headers/crt/stdio.h | 12 ++++++++++++ >> >>> mingw-w64-headers/crt/wchar.h | 12 ++++++++---- >> >>> 3 files changed, 28 insertions(+), 7 deletions(-) >> >>> >> >>> diff --git a/mingw-w64-headers/crt/process.h >> >>> b/mingw-w64-headers/crt/process.h >> >>> index 901a886..9b36daa 100644 >> >>> --- a/mingw-w64-headers/crt/process.h >> >>> +++ b/mingw-w64-headers/crt/process.h >> >>> @@ -78,8 +78,8 @@ extern "C" { >> >>> int __cdecl system(const char *_Command); >> >>> #endif >> >>> >> >>> -#ifndef _WPROCESS_DEFINED >> >>> -#define _WPROCESS_DEFINED >> >>> +#ifndef _WEXEC_DEFINED >> >>> +#define _WEXEC_DEFINED >> >>> _CRTIMP intptr_t __cdecl _wexecl(const wchar_t *_Filename,const >> >>> wchar_t *_ArgList,...); >> >>> _CRTIMP intptr_t __cdecl _wexecle(const wchar_t *_Filename,const >> >>> wchar_t *_ArgList,...); >> >>> _CRTIMP intptr_t __cdecl _wexeclp(const wchar_t *_Filename,const >> >>> wchar_t *_ArgList,...); >> >>> @@ -88,6 +88,10 @@ extern "C" { >> >>> _CRTIMP intptr_t __cdecl _wexecve(const wchar_t *_Filename,const >> >>> wchar_t *const *_ArgList,const wchar_t *const *_Env); >> >>> _CRTIMP intptr_t __cdecl _wexecvp(const wchar_t *_Filename,const >> >>> wchar_t *const *_ArgList); >> >>> _CRTIMP intptr_t __cdecl _wexecvpe(const wchar_t *_Filename,const >> >>> wchar_t *const *_ArgList,const wchar_t *const *_Env); >> >>> +#endif >> >>> + >> >>> +#ifndef _WSPAWN_DEFINED >> >>> +#define _WSPAWN_DEFINED >> >>> _CRTIMP intptr_t __cdecl _wspawnl(int _Mode,const wchar_t >> >>> *_Filename,const wchar_t *_ArgList,...); >> >>> _CRTIMP intptr_t __cdecl _wspawnle(int _Mode,const wchar_t >> >>> *_Filename,const wchar_t *_ArgList,...); >> >>> _CRTIMP intptr_t __cdecl _wspawnlp(int _Mode,const wchar_t >> >>> *_Filename,const wchar_t *_ArgList,...); >> >>> @@ -96,11 +100,12 @@ extern "C" { >> >>> _CRTIMP intptr_t __cdecl _wspawnve(int _Mode,const wchar_t >> >>> *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env); >> >>> _CRTIMP intptr_t __cdecl _wspawnvp(int _Mode,const wchar_t >> >>> *_Filename,const wchar_t *const *_ArgList); >> >>> _CRTIMP intptr_t __cdecl _wspawnvpe(int _Mode,const wchar_t >> >>> *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env); >> >>> +#endif >> >>> + >> >>> #ifndef _CRT_WSYSTEM_DEFINED >> >>> #define _CRT_WSYSTEM_DEFINED >> >>> _CRTIMP int __cdecl _wsystem(const wchar_t *_Command); >> >>> #endif >> >>> -#endif >> >>> >> >>> void __cdecl __security_init_cookie(void); >> >>> #if (defined(_X86_) && !defined(__x86_64)) >> >>> diff --git a/mingw-w64-headers/crt/stdio.h >> >>> b/mingw-w64-headers/crt/stdio.h >> >>> index 32bcca1..825281f 100644 >> >>> --- a/mingw-w64-headers/crt/stdio.h >> >>> +++ b/mingw-w64-headers/crt/stdio.h >> >>> @@ -950,6 +950,18 @@ void __cdecl __mingw_str_free(void *ptr); >> >>> >> >>> #endif /* __MINGW_MBWC_CONVERT_DEFINED */ >> >>> >> >>> +#ifndef _WSPAWN_DEFINED >> >>> +#define _WSPAWN_DEFINED >> >>> + _CRTIMP intptr_t __cdecl _wspawnl(int _Mode,const wchar_t >> >>> *_Filename,const wchar_t *_ArgList,...); >> >>> + _CRTIMP intptr_t __cdecl _wspawnle(int _Mode,const wchar_t >> >>> *_Filename,const wchar_t *_ArgList,...); >> >>> + _CRTIMP intptr_t __cdecl _wspawnlp(int _Mode,const wchar_t >> >>> *_Filename,const wchar_t *_ArgList,...); >> >>> + _CRTIMP intptr_t __cdecl _wspawnlpe(int _Mode,const wchar_t >> >>> *_Filename,const wchar_t *_ArgList,...); >> >>> + _CRTIMP intptr_t __cdecl _wspawnv(int _Mode,const wchar_t >> >>> *_Filename,const wchar_t *const *_ArgList); >> >>> + _CRTIMP intptr_t __cdecl _wspawnve(int _Mode,const wchar_t >> >>> *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env); >> >>> + _CRTIMP intptr_t __cdecl _wspawnvp(int _Mode,const wchar_t >> >>> *_Filename,const wchar_t *const *_ArgList); >> >>> + _CRTIMP intptr_t __cdecl _wspawnvpe(int _Mode,const wchar_t >> >>> *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env); >> >>> +#endif >> >>> + >> >>> #ifdef __cplusplus >> >>> } >> >>> #endif >> >>> diff --git a/mingw-w64-headers/crt/wchar.h >> >>> b/mingw-w64-headers/crt/wchar.h >> >>> index 3fbd17f..88cb24c 100644 >> >>> --- a/mingw-w64-headers/crt/wchar.h >> >>> +++ b/mingw-w64-headers/crt/wchar.h >> >>> @@ -300,9 +300,8 @@ extern FILE (* __MINGW_IMP_SYMBOL(_iob))[]; /* A >> >>> pointer to an array of FILE */ >> >>> _CRTIMP wchar_t *__cdecl _wsetlocale(int _Category,const wchar_t >> >>> *_Locale); >> >>> #endif >> >>> >> >>> -#ifndef _WPROCESS_DEFINED >> >>> -#define _WPROCESS_DEFINED >> >>> - >> >>> +#ifndef _WEXEC_DEFINED >> >>> +#define _WEXEC_DEFINED >> >>> _CRTIMP intptr_t __cdecl _wexecl(const wchar_t *_Filename,const >> >>> wchar_t *_ArgList,...); >> >>> _CRTIMP intptr_t __cdecl _wexecle(const wchar_t *_Filename,const >> >>> wchar_t *_ArgList,...); >> >>> _CRTIMP intptr_t __cdecl _wexeclp(const wchar_t *_Filename,const >> >>> wchar_t *_ArgList,...); >> >>> @@ -311,6 +310,10 @@ extern FILE (* __MINGW_IMP_SYMBOL(_iob))[]; >> >>> /* A pointer to an array of FILE */ >> >>> _CRTIMP intptr_t __cdecl _wexecve(const wchar_t *_Filename,const >> >>> wchar_t *const *_ArgList,const wchar_t *const *_Env); >> >>> _CRTIMP intptr_t __cdecl _wexecvp(const wchar_t *_Filename,const >> >>> wchar_t *const *_ArgList); >> >>> _CRTIMP intptr_t __cdecl _wexecvpe(const wchar_t *_Filename,const >> >>> wchar_t *const *_ArgList,const wchar_t *const *_Env); >> >>> +#endif >> >>> + >> >>> +#ifndef _WSPAWN_DEFINED >> >>> +#define _WSPAWN_DEFINED >> >>> _CRTIMP intptr_t __cdecl _wspawnl(int _Mode,const wchar_t >> >>> *_Filename,const wchar_t *_ArgList,...); >> >>> _CRTIMP intptr_t __cdecl _wspawnle(int _Mode,const wchar_t >> >>> *_Filename,const wchar_t *_ArgList,...); >> >>> _CRTIMP intptr_t __cdecl _wspawnlp(int _Mode,const wchar_t >> >>> *_Filename,const wchar_t *_ArgList,...); >> >>> @@ -319,11 +322,12 @@ extern FILE (* __MINGW_IMP_SYMBOL(_iob))[]; >> >>> /* A pointer to an array of FILE */ >> >>> _CRTIMP intptr_t __cdecl _wspawnve(int _Mode,const wchar_t >> >>> *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env); >> >>> _CRTIMP intptr_t __cdecl _wspawnvp(int _Mode,const wchar_t >> >>> *_Filename,const wchar_t *const *_ArgList); >> >>> _CRTIMP intptr_t __cdecl _wspawnvpe(int _Mode,const wchar_t >> >>> *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env); >> >>> +#endif >> >>> + >> >>> #ifndef _CRT_WSYSTEM_DEFINED >> >>> #define _CRT_WSYSTEM_DEFINED >> >>> _CRTIMP int __cdecl _wsystem(const wchar_t *_Command); >> >>> #endif >> >>> -#endif >> >>> >> >>> #ifndef _WCTYPE_INLINE_DEFINED >> >>> #undef _CRT_WCTYPE_NOINLINE >> >>> -- >> >>> 2.1.2 >> >>> >> >>> >> >>> ------------------------------------------------------------------------------ >> >>> Comprehensive Server Monitoring with Site24x7. >> >>> Monitor 10 servers for $9/Month. >> >>> Get alerted through email, SMS, voice calls or mobile push notifications. >> >>> Take corrective actions from your mobile device. >> >>> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk >> >>> _______________________________________________ >> >>> Mingw-w64-public mailing list >> >>> [email protected] >> >>> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public >> > >> > ------------------------------------------------------------------------------ >> > Comprehensive Server Monitoring with Site24x7. >> > Monitor 10 servers for $9/Month. >> > Get alerted through email, SMS, voice calls or mobile push notifications. >> > Take corrective actions from your mobile device. >> > http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk >> > _______________________________________________ >> > Mingw-w64-public mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk > _______________________________________________ > Mingw-w64-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
