bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setlocale with NULL locale (to read current locale) segfaults on MSY


From: Bruno Haible
Subject: Re: setlocale with NULL locale (to read current locale) segfaults on MSYS
Date: Sun, 01 May 2022 23:34:26 +0200

Reuben Thomas wrote:
> It's not really that I'm doing anything: gnulib seems to detect MSYS as
> being a POSIX platform.

Not really; something in the configure step (which you haven't shown)
made it "detect" some POSIX threads facility.

> In the end I tried something a bit different, which was to reduce the
> number of gnulib modules I was using, as for the code I'm writing it seemed
> reasonable to assume C99 and POSIX.1-2008.

?? That makes no sense to me. Either you want to assume POSIX, or you want
to support native Windows. You can't do both at the same time.

Bruno






reply via email to

[Prev in Thread] Current Thread [Next in Thread]