Thanks for noting. I just fixed it in the unstable CVS. It's now
no longer possible to unhook a hook of a certain kind from within
itself.
On 2001-04-11 11:28:18 -0700, Eugene Lee wrote:
> Date: Wed, 11 Apr 2001 11:28:18 -0700
> From: Eugene Lee <[EMAIL PROTECTED]>
> To: Mutt Users <[EMAIL PROTECTED]>
> Subject: unhook bug
> Mail-Followup-To: Mutt Users <[EMAIL PROTECTED]>
> User-Agent: Mutt/1.2i
>
> When I enable this setting:
>
> folder-hook . 'unhook folder-hook'
>
> I get this:
>
> $ mutt
> Segmentation fault (core dumped)
>
> Bug or feature? :)
>
> $ mutt -v
> Mutt 1.2i (2000-05-09)
> Copyright (C) 1996-2000 Michael R. Elkins and others.
> Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
> Mutt is free software, and you are welcome to redistribute it
> under certain conditions; type `mutt -vv' for details.
>
> System: Linux 2.2.18pre20 [using slang 10202]
> Compile options:
> -DOMAIN
> +DEBUG
> -HOMESPOOL -USE_SETGID -USE_DOTLOCK +USE_FCNTL -USE_FLOCK
> +USE_IMAP +USE_GSS -USE_SSL +USE_POP +HAVE_REGCOMP -USE_GNU_REGEX
> +HAVE_COLOR +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS +ENABLE_NLS
> SENDMAIL="/usr/sbin/sendmail"
> MAILPATH="/var/spool/mail"
> SHAREDIR="/etc"
> SYSCONFDIR="/etc"
> -ISPELL
> To contact the developers, please mail to <[EMAIL PROTECTED]>.
> To report a bug, please use the muttbug utility.
>
>
> --
> Eugene Lee
> [EMAIL PROTECTED]
>
--
Thomas Roessler <[EMAIL PROTECTED]>