1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-06-18 09:28:02 +02:00

52413: support Citrus version of iconv on macOS, DragonFly, NetBSD

This commit is contained in:
Jun-ichi Takimoto 2023-12-16 23:22:58 +09:00
parent 4c89849c98
commit a528af5c57
2 changed files with 6 additions and 1 deletions
ChangeLog
Completion/Unix/Command

View file

@ -1,3 +1,8 @@
2023-12-06 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 52413: Completion/Unix/Command/_iconv: support Citrus version
on macOS, DragonFly and NetBSD
2023-12-13 Oliver Kiddle <opk@zsh.org>
* Florian Weimer: 52383: configure.ac: Avoid incompatible pointer

View file

@ -63,7 +63,7 @@ else
'1:file:_files' && return 0
if [[ $state = codeset ]]; then
if [[ $OSTYPE = freebsd* ]]; then
if [[ $OSTYPE = (freebsd|dragonfly|netbsd|darwin)* ]]; then
codeset=( $(_call_program codesets $words[1] -l) )
elif [[ -f /usr/lib/iconv/iconv_data ]]; then # IRIX & Solaris
codeset=( ${${(f)"$(</usr/lib/iconv/iconv_data)"}%%[[:blank:]]*} )