summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_iconv2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d3af72cb4..eb1a48d70 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-09-28  Clint Adams  <clint@zsh.org>
 
+	* 21781: Completion/Unix/Command/_iconv: cope with
+	`iconv --list` output from glibc 2.3.5.
+
 	* 21780: Completion/Debian/Command/_dlocate: completion for
 	dlocate.
 
diff --git a/Completion/Unix/Command/_iconv b/Completion/Unix/Command/_iconv
index 92fa17e34..2cd69b21a 100644
--- a/Completion/Unix/Command/_iconv
+++ b/Completion/Unix/Command/_iconv
@@ -26,7 +26,7 @@ if _pick_variant gnu=GNU unix --version; then
     else
       _wanted codesets expl 'code set' compadd "$@" \
 	  -M 'm:{a-zA-Z}={A-Za-z} r:|-=* r:|=*' \
-	  ${${${(f)"$(_call_program codesets iconv --list|sed -n '/^$/,$ p')"}## #}%//} && ret=0
+	  ${${${(f)"$(_call_program codesets iconv --list)"}## #}%//} && ret=0
     fi
   fi