[Mingw-w64-public] repository.txt

2016-02-25 Thread Walt Brainerd
I just downloaded the latest mingw-w64-install and I still get that repository.txt can't be downloaded, as reported earlier in another posting. Can anybody please explain to me what is wrong? Thanks. -- Walt Brainerd --

[Mingw-w64-public] [PATCH 2/2] wscanf: fix memory leak

2016-02-25 Thread Hannes Domani
--- mingw-w64-crt/stdio/mingw_wvfscanf.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mingw-w64-crt/stdio/mingw_wvfscanf.c b/mingw-w64-crt/stdio/mingw_wvfscanf.c index 41bdc68..045aba7 100644 --- a/mingw-w64-crt/stdio/mingw_wvfscanf.c +++ b/mingw-w64-crt/stdio/mi

[Mingw-w64-public] [PATCH 1/2] wscanf: use WEOF instead of EOF

2016-02-25 Thread Hannes Domani
--- mingw-w64-crt/stdio/mingw_wvfscanf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mingw-w64-crt/stdio/mingw_wvfscanf.c b/mingw-w64-crt/stdio/mingw_wvfscanf.c index 3924b54..41bdc68 100644 --- a/mingw-w64-crt/stdio/mingw_wvfscanf.c +++ b/mingw-w64-crt/stdio/mingw_wvf

[Mingw-w64-public] Announcing v5.0-rc1

2016-02-25 Thread JonY
v5.0-rc1 is released! THIS IS A TEST VERSION. Changes: * Winpthreads performance bump thanks to Mattias * Much updates from Wine thanks to Jacek * Basic ARM support, thanks to Martell * Better Cygwin support, thanks to Corinna * gcc-5 support, thanks to Kai And much more from others. And here are

Re: [Mingw-w64-public] [PATCH] scanf: fix memory leak

2016-02-25 Thread Kai Tietz
Yes, it is likely that there might be issues about WEOF/EOF. Patches to improve this are welcome. Regards, Kai 2016-02-25 12:29 GMT+01:00 Hannes Domani : > Kai Tietz schrieb am 11:39 Donnerstag, 25.Februar > 2016: >> thank you for the patch. Nice catch. Patch is ok for apply. JonY >> will yo

Re: [Mingw-w64-public] [PATCH] scanf: fix memory leak

2016-02-25 Thread Hannes Domani
Kai Tietz schrieb am 11:39 Donnerstag, 25.Februar 2016: > thank you for the patch. Nice catch. Patch is ok for apply. JonY > will you take care? Great. I made some tests now to figure out why the wide-variant doesn't have the same problem: swscanf( L"1", L"%*u-" ); In mingw_wvfscanf.c

Re: [Mingw-w64-public] [PATCH] scanf: fix memory leak

2016-02-25 Thread JonY
On 2/25/2016 02:55, Hannes Domani wrote: > Hello > > > The leak can be triggered with an example like this: > > #define __USE_MINGW_ANSI_STDIO 1 > #include > > int main( void ) > { > return( sscanf( "1", "%*u-" ) ); > } > Applied to master and v4.x, thanks. Wished it came earlier. 0xD

Re: [Mingw-w64-public] [PATCH] scanf: fix memory leak

2016-02-25 Thread Kai Tietz
Hello Hannes, thank you for the patch. Nice catch. Patch is ok for apply. JonY will you take care? Thanks, Kai 2016-02-24 19:55 GMT+01:00 Hannes Domani : > Hello > > > The leak can be triggered with an example like this: > > #define __USE_MINGW_ANSI_STDIO 1 > #include > > int main( void ) >

[Mingw-w64-public] Announcing v4.0.5

2016-02-25 Thread JonY
v4.0.5 is released! This should fix a long standing bug with vsprintf_s where it was calling vprintf_s because of a typo. If your code uses vsprintf_s, you should recompile it to fix the error. And here are the downloads:

[Mingw-w64-public] Differentiate on MinGW-w64 and TDM-gcc

2016-02-25 Thread Gisle Vanem
Hello list. In a 32-bit program if mine (while printing the version info) I have stuff like: extern const char *os_name (const char *vendor); #if defined(__MINGW64_VERSION_MAJOR) #define VENDOR os_name ("MinGW-w64") /* a new-school MinGW */ #elif defined(__MINGW32__) #define VENDOR os_n