Bug#945130: mingw-w64-x86-64-dev: strftime fails on %e and gives incorrect string for %z

2019-11-21 Thread Bernhard Übelacker
Am 21.11.19 um 16:13 schrieb Marius Mikučionis: > 2019-11-21, th, 13:14 Bernhard Übelacker > wrote: > > > I forgot to mention that I used a local built wine-4.20. > There were lately some changes in that area in Wine, therefore > if you use an older

Bug#945130: mingw-w64-x86-64-dev: strftime fails on %e and gives incorrect string for %z

2019-11-21 Thread Marius Mikučionis
2019-11-21, th, 13:14 Bernhard Übelacker wrote: > > I forgot to mention that I used a local built wine-4.20. > There were lately some changes in that area in Wine, therefore > if you use an older Wine version it might behave different. > >

Bug#945130: mingw-w64-x86-64-dev: strftime fails on %e and gives incorrect string for %z

2019-11-21 Thread Bernhard Übelacker
Am 21.11.19 um 12:09 schrieb Marius Mikučionis: > > 2019-11-21, kt, 01:16 Bernhard Übelacker > rašė: >     $ wine strftime-ucrt-7.exe >     [%a]: [Tue] >     [%e]: [ 5] >     [%d]: [05] >     [%-d]: (empty) errno=22 >     [%#d]: [5] >  

Bug#945130: mingw-w64-x86-64-dev: strftime fails on %e and gives incorrect string for %z

2019-11-21 Thread Stephen Kitt
Hi, Thanks to both of you for taking the time to file the bug and investigate this! On Thu, 21 Nov 2019 12:09:44 +0100, Marius Mikučionis wrote: > 2019-11-21, kt, 01:16 Bernhard Übelacker rašė: > > First I fear that mingw-w64 does not link as much static > > as you expect it to. Yes, strftime

Bug#945130: mingw-w64-x86-64-dev: strftime fails on %e and gives incorrect string for %z

2019-11-21 Thread Marius Mikučionis
2019-11-21, kt, 01:16 Bernhard Übelacker rašė: > Hello Marius Mikucionis, > I am not anyhow involved in maintaining mingw-w64. > But I guess I found something. > > First I fear that mingw-w64 does not link as much static > as you expect it to. > All crossbuilt executables still dynamically link

Bug#945130: mingw-w64-x86-64-dev: strftime fails on %e and gives incorrect string for %z

2019-11-20 Thread Bernhard Übelacker
Hello Marius Mikucionis, I am not anyhow involved in maintaining mingw-w64. But I guess I found something. First I fear that mingw-w64 does not link as much static as you expect it to. All crossbuilt executables still dynamically link to msvcrt.dll. $ i686-w64-mingw32-objdump -p

Bug#945130: mingw-w64-x86-64-dev: strftime fails on %e and gives incorrect string for %z

2019-11-20 Thread Marius Mikucionis
Package: mingw-w64-x86-64-dev Version: 7.0.0-2 Severity: normal Dear Maintainer, I am trying to get a string representation of a date via strftime function. For some reason the function call fails whenever format contains %e (day of month with leading space instead of zero). Also %z (time zone