TLUtils::check_on_working_mirror creates nul file on Windows

Norbert Preining norbert at preining.info
Thu Feb 10 01:38:35 CET 2022


Hi Karl,

On Wed, 09 Feb 2022, Karl Berry wrote:
> -  my $cmd = "$wget $mirror/ --timeout=$NetworkTimeout -O "
> -            . (win32() ? "nul" : "/dev/null")
> -            . " 2>" . (win32() ? "nul" : "/dev/null");
> +  my $cmd = "$wget $mirror/ --timeout=$NetworkTimeout -O -"
> +            . "  >" . (TeXLive::TLUtils::nulldev())
> +            . " 2>" . (TeXLive::TLUtils::nulldev());

Interesting ... I thought we have used this since ages and
	-O nul
works on Windows ...

Siep, anyone on Windows, can you confirm that a "nul" file is generated
when calling wget -O nul ... ?

Very peculiar, but since it is Windows, nothing new.

Best

Norbert

--
PREINING Norbert                              https://www.preining.info
Fujitsu Research     +    IFMGA Guide     +    TU Wien    +    TeX Live
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


More information about the tex-live mailing list.