[PATCH] gettext: avoid obsolete macro AM_PROG_MKDIR_P

2012-12-20 Thread Paul Eggert
[Here's a proposed gnulib patch, to prepare for Automake changes.] It is obsolete and is planned to be removed from Automake 1.14; see . * build-aux/po/Makefile.in.in (install-data, install-data-yes) (installdirs-data, installdirs-

[PATCH] AC_PROG_MKDIR_P: don't workaround if not buggy

2012-12-20 Thread Paul Eggert
I installed this into gnulib as a minor improvement. * m4/gnulib-common.m4 (AC_PROG_MKDIR_P): Define only for Autoconf versions before 2.62. (AC_C_RESTRICT): Use documented AC_AUTOCONF_VERSION, not undocumented m4_PACKAGE_VERSION, for consistency with the abovementioned change to AC_PROG_MKDIR_P.

glob() does not set GLOB_MAGCHAR properly when globbing subdirs

2012-12-20 Thread Mike Frysinger
i've found (with a pointer from Michał Górny) that using glob("*/") does not set GLOB_MAGCHAR in gl_flags. for example, this code: #include #include #include #include #include #include int main() { glob_t g; int ret; size_t i; /* Create test tree */

isatty fails on Windows 8

2012-12-20 Thread Michael Goffioul
Hi, We've got a bug report in octave [1] that seems to indicate that gnulib's replacement of isatty is incorrect on Windows 8 (it's fine up to Windows 7). Looking at the implementation, it first calls the Windows _isatty version, then checks the last 2 bits of the handle associated with the file d

Re: [bug-gettext] gettext-tools test failures on Darwin

2012-12-20 Thread Daiki Ueno
Daiki Ueno writes: > After the following change (in gnulib), locale_charset() returns "ASCII" > on Mac OS X, even if thread's locale is set to "de_DE.UTF-8", say. So > the solution would be either to make sure MB_CUR_MAX > 1 somehow in the > test, or to make locale_charset() thread-safe. Just t