Re: [Mingw-w64-public] [PATCH] Add sysexits.h, err.h, err functions

2017-03-08 Thread Kai Tietz
Hello Kelvin, I agree that this API is pretty useful, but it nothing we want to add this way to our standard libraries. Could could place it to our library section instead. It would be a failure to add it by default to our crt, as those symbols easily conflict with user code. Regards, Kai 2017-

Re: [Mingw-w64-public] [PATCH] winreg.h: Fix declaration of RegSetKeyValueW

2017-03-08 Thread JonY
On 03/08/2017 08:36 AM, Liu Hao wrote: > janisozaur on IRC reported a bug about `RegSetKeyValueW()` today. > According to MSDN the parameters `lpSubKey` and `lpValueName` of > `RegSetKeyValue()` should have type `LPCTSTR`, hence in the case of > `RegSetKeyValueW()` they should have type `LPCWSTR`.

[Mingw-w64-public] [PATCH] Add sysexits.h, err.h, err functions

2017-03-08 Thread Kelvin Sherlock
This adds the very useful sysexits.h, err.h, and err.c (err(3), errc(3), errx(3), warn(3), warnc(3), warnx(3), etc). getopt(3) previously included its own static copy of warn(), so that was updated to use the real thing. --- mingw-w64-crt/Makefile.am| 2 +- mingw-w64-crt/misc/err.c

Re: [Mingw-w64-public] [PATCH 1/2] objidlbase.idl: Added IAgileReference declaration.

2017-03-08 Thread Kai Tietz
Patch is ok for apply. Thanks, Kai 2017-03-08 12:29 GMT+01:00 Jacek Caban : > Signed-off-by: Jacek Caban > --- > mingw-w64-headers/include/objidlbase.idl | 6 ++ > 1 file changed, 6 insertions(+) > > > > -- > Announ

Re: [Mingw-w64-public] [PATCH 2/2] libuuid.a: Added CLSID_StdGlobalInterfaceTable.

2017-03-08 Thread Kai Tietz
Ok, please apply. Thanks, Kai 2017-03-08 12:29 GMT+01:00 Jacek Caban : > Signed-off-by: Jacek Caban > --- > mingw-w64-crt/libsrc/uuid.c | 1 + > 1 file changed, 1 insertion(+) > > > > -- > Announcing the Oxford Dictiona

[Mingw-w64-public] [PATCH 2/2] libuuid.a: Added CLSID_StdGlobalInterfaceTable.

2017-03-08 Thread Jacek Caban
Signed-off-by: Jacek Caban --- mingw-w64-crt/libsrc/uuid.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mingw-w64-crt/libsrc/uuid.c b/mingw-w64-crt/libsrc/uuid.c index aaeb4e1..481e675 100644 --- a/mingw-w64-crt/libsrc/uuid.c +++ b/mingw-w64-crt/libsrc/uuid.c @@ -296,6 +296,7 @@ DEFINE_GU

[Mingw-w64-public] [PATCH 1/2] objidlbase.idl: Added IAgileReference declaration.

2017-03-08 Thread Jacek Caban
Signed-off-by: Jacek Caban --- mingw-w64-headers/include/objidlbase.idl | 6 ++ 1 file changed, 6 insertions(+) diff --git a/mingw-w64-headers/include/objidlbase.idl b/mingw-w64-headers/include/objidlbase.idl index babc59d..915e2a2 100755 --- a/mingw-w64-headers/include/objidlbase.idl +++ b

Re: [Mingw-w64-public] [PATCH] Add sysexits.h, err.h, err functions

2017-03-08 Thread JonY
On 03/08/2017 02:46 AM, Kelvin Sherlock wrote: > This adds the very useful sysexits.h, err.h, and err.c (err(3), errc(3), > errx(3), warn(3), warnc(3), warnx(3), etc). getopt(3) previously included > its own static copy of warn(), so that was updated to use the real thing. > > Thanks, > Kelvin >

[Mingw-w64-public] [PATCH] winreg.h: Fix declaration of RegSetKeyValueW

2017-03-08 Thread Liu Hao
janisozaur on IRC reported a bug about `RegSetKeyValueW()` today. According to MSDN the parameters `lpSubKey` and `lpValueName` of `RegSetKeyValue()` should have type `LPCTSTR`, hence in the case of `RegSetKeyValueW()` they should have type `LPCWSTR`. In our headers they used to have type `LPCS