From a528af5c57436c730144e35d97547163c57c8420 Mon Sep 17 00:00:00 2001 From: Jun-ichi Takimoto Date: Sat, 16 Dec 2023 23:22:58 +0900 Subject: 52413: support Citrus version of iconv on macOS, DragonFly, NetBSD --- ChangeLog | 5 +++++ Completion/Unix/Command/_iconv | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5c60d4733..e7b785c7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2023-12-06 Jun-ichi Takimoto + + * 52413: Completion/Unix/Command/_iconv: support Citrus version + on macOS, DragonFly and NetBSD + 2023-12-13 Oliver Kiddle * Florian Weimer: 52383: configure.ac: Avoid incompatible pointer diff --git a/Completion/Unix/Command/_iconv b/Completion/Unix/Command/_iconv index bf04acfe4..fba0b9afe 100644 --- a/Completion/Unix/Command/_iconv +++ b/Completion/Unix/Command/_iconv @@ -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)"$(