Re: mktime.m4 - working mktime fails if TIME_T_IS_SIGNED us undefined.

2017-09-21 Thread Paul Eggert
Thanks for the heads-up. I installed the attached. It's not surprising that OpenVMS mktime fails the test. >From afc5fb6e9cb7a64609a7d18c260ed49aa98431a1 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 21 Sep 2017 21:39:59 -0700 Subject: [PATCH] mktime: port to OpenVMS Problem reported by

Re: bug#20314: [PATCH] Make output of mdate-sh deterministic

2017-09-21 Thread Paul Eggert
Unfortunately that patch to Automake's mdate-sh is not portable, as TZ='UTC' is not a portable setting for the TZ environment variable. POSIX says you're supposed to use something like TZ='UTC0' instead. Although TZ='UTC' works when glibc is used, this is not necessarily true on other POSIX plat

mktime.m4 - working mktime fails if TIME_T_IS_SIGNED us undefined.

2017-09-21 Thread John E. Malmberg
The TIME_T_IS_SIGNED macro not defined if time_t is unsigned. This causes the test for working mtime to fail to compile on such systems such as OpenVMS. configure:33308: cc -o conftest -g conftest.c >&5 time_t_max = (! TIME_T_IS_SIGNED ..^ %CC-E-UNDECLARED, In this statem

Re: [PATCH 2/2] Use C11 _Alignas on scratch_buffer internal buffer

2017-09-21 Thread Paul Eggert
Adhemerval Zanella wrote: Now back to the patch topic, I think the first union version [1] should the most suitable one and it is what I am intended to push. [1]https://sourceware.org/ml/libc-alpha/2017-09/msg00730.html The code for that looks fine for Gnulib. However, the commit message could