Package: zsh
Version: 4.3.3-1
Severity: normal
Tags: patch

hi,

when compiling the function in /usr/share/zsh/4.3.3/functions/Misc
add-zsh-hook fails. the attached patch fixes this

regards,

ingo


--- /usr/share/zsh/4.3.3/functions/Misc/add-zsh-hook.orig 2007-04-20 
13:38:46.000000000 +0200
+++ /usr/share/zsh/4.3.3/functions/Misc/add-zsh-hook    2007-04-20
13:38:55.000000000 +0200
@@ -52,7 +52,7 @@
     (( ${(P)#hook} )) || unset $hook
   fi
 else
-  if (( ${(P)+hook} )): then
+  if (( ${(P)+hook} )); then
     if (( ${(P)hook[(I)$fn]} == 0 )); then
       set -A $hook ${(P)hook} $fn
     fi


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.20.7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages zsh depends on:
ii  debconf [debconf-2.0]         1.5.13     Debian configuration management sy
ii  libc6                         2.5-2      GNU C Library: Shared libraries
ii  libncurses5                   5.5-5      Shared libraries for terminal hand

Versions of packages zsh recommends:
ii  libcap1                       1:1.10-14  support for getting/setting POSIX.
ii  libpcre3                      6.7-1      Perl 5 Compatible Regular Expressi

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to