[Pkg-haskell-maintainers] Bug#786781: shellcheck: hGetContents: invalid argument (invalid byte sequence)

Jakub Wilk jwilk at debian.org
Mon May 25 14:24:06 UTC 2015


Package: shellcheck
Version: 0.3.7-1

$ printf '\xf1' > badchar
$ printf 'echo *' > badwildcard
$ locale charmap
UTF-8
$ shellcheck badchar badwildcard
shellcheck: badchar: hGetContents: invalid argument (invalid byte sequence)


I can live with the fact that shellcheck can't check the file with 
invalid byte sequence, but it should at least proceed with checking the 
remaining files.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages shellcheck depends on:
ii  libc6     2.19-18
ii  libffi6   3.1-2+b2
ii  libgmp10  2:6.0.0+dfsg-6

-- 
Jakub Wilk



More information about the Pkg-haskell-maintainers mailing list