Re: MinGW vs. c-api.test

2014-06-11 Thread Ludovic Courtès
Eli Zaretskii skribis: >> From: l...@gnu.org (Ludovic Courtès) >> Cc: guile-devel >> Date: Tue, 10 Jun 2014 13:44:17 +0200 >> >> Eli, I noticed there are many other occurrences of /dev/null in the test >> suite. Do they all need to be patched to use NUL, or is /dev/null >> somehow interpreted

Re: MinGW vs. setlocale

2014-06-11 Thread Ludovic Courtès
Eli Zaretskii skribis: >> From: l...@gnu.org (Ludovic Courtès) >> Date: Mon, 09 Jun 2014 21:30:46 +0200 >> >> > 1. i18n.test completely fails, because it depends on the ability to >> >change the program's locale at run time. I wish this whole test >> >were skipped on Windows. (I'm quit

Re: MinGW vs. c-api.test

2014-06-11 Thread Eli Zaretskii
> From: l...@gnu.org (Ludovic Courtès) > Cc: guile-devel@gnu.org > Date: Wed, 11 Jun 2014 14:37:53 +0200 > > OK, thanks for the explanation. > > Below is the fix I just pushed. > [...] > +(define %null-device > + ;; On Windows (MinGW), /dev/null does not exist and we must instead > + ;; use NUL

Re: MinGW vs. setlocale

2014-06-11 Thread Eli Zaretskii
> From: l...@gnu.org (Ludovic Courtès) > Cc: guile-devel@gnu.org > Date: Wed, 11 Jun 2014 15:13:58 +0200 > > > First, make-locale threw an exception, because it tried to call > > 'setlocale' with LC_MESSAGES, which the Windows runtime doesn't > > support. locale-categories.h tried to avoid that b