https://bugs.winehq.org/show_bug.cgi?id=42925
Bug ID: 42925 Summary: strftime() truncates output inappropriately when %z is used Product: Wine Version: 2.7 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: mark+winebugs@carnildo.com Distribution: ---
strftime(buffer, 10000, "Diagnostic report generated at %c %z by version ", now);
On Windows (every version I've tested), this produces output similar to
Diagnostic report generated at 05/02/17 21:21:09 Pacific Daylight Time by version
On Wine, it instead produces
Diagnostic report generated at 05/02/17 21:21:09 Pacific Daylight Time
(note the truncation after the time zone).
https://bugs.winehq.org/show_bug.cgi?id=42925
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED CC| |piotr.caban@gmail.com Fixed by SHA1| |5823e5b9140dc3b6c82c16912f5 | |52e7625caf08c
--- Comment #1 from Piotr Caban piotr.caban@gmail.com --- It produces correct output now. Marking as fixed (you can retest it with wine from git or wait for next wine 2.8).
https://bugs.winehq.org/show_bug.cgi?id=42925
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.8.