bug-texinfo
[Top][All Lists]
Advanced

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

Re: texinfo-6.0.92 make check has 12 FAILs on Solaris10 x86/x64


From: Eli Zaretskii
Subject: Re: texinfo-6.0.92 make check has 12 FAILs on Solaris10 x86/x64
Date: Sat, 23 Jan 2016 18:04:42 +0200

> Date: Sat, 23 Jan 2016 13:10:28 +0000
> From: Gavin Smith <address@hidden>
> Cc: Kiyoshi KANAZAWA <address@hidden>, Texinfo <address@hidden>
> 
> # Check for a UTF-8 locale.  Skip the check if the 'locale' command doesn't
> # work.
> my $a = `locale -a 2>/dev/null`;
> if ($a and $a !~ /UTF-8/ and $a !~ /utf8/) {
>   _fatal "couldn't find a UTF-8 locale";
>   goto FALLBACK;
> }
> if (!$a) {
>   _debug "couldn't run 'locale -a': skipping check for a UTF-8 locale";
> }

Btw, this relies on shell's support of /dev/null, which won't happen
on Windows.  If there's a way to use the null device instead (is it
"File::Spec->devnull"?), that would be better, I think.



reply via email to

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