[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MinGW-related patches that were reported in 2014 but not applied
From: |
Andy Wingo |
Subject: |
Re: MinGW-related patches that were reported in 2014 but not applied |
Date: |
Sat, 23 Jul 2016 14:15:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
On Sat 16 Jul 2016 13:24, Eli Zaretskii <address@hidden> writes:
> From f55f1e8de40b38cc745a930bf5a374c73d3c67ce Mon Sep 17 00:00:00 2001
> From: Eli Zaretskii <address@hidden>
> Date: Sat, 16 Jul 2016 14:22:06 +0300
> Subject: [PATCH] Fix 'strftime' for MS-Windows
>
> * libguile/stime.c (scm_strftime) [__MINGW32__]: Don't use the
> trick of appending "0" to the time-zone string, Windows runtime
> doesn't support that.
> +#ifndef __MINGW32__
> + /* Don't do this for MinGW: it only supports fixed-format
> + TTTnnnDDD TZ specifications, and gets confused if a zero is
> + appended. */
This patch disables the setzone() call entirely; seems to be the wrong
thing, given that MinGW doesn't appear to have struct tm->tm_zone. What
if we just disable appending the 0 to the time zone?
Andy
Re: MinGW-related patches that were reported in 2014 but not applied, Andy Wingo, 2016/07/23