Re: [PATCH] notmuch-mutt: fix Perl syntax of hash index lookups

Subject: Re: [PATCH] notmuch-mutt: fix Perl syntax of hash index lookups

Date: Thu, 12 Oct 2023 19:59:54 -0300

To: Paul Wise, notmuch@notmuchmail.org

Cc: Paul Wise

From: David Bremner


Paul Wise <pabs3@bonedaddy.net> writes:

> Fixes: commit 239fdbbbf0cbd6cd6ebafb87e88cdb3cded75364
> ---
>  contrib/notmuch-mutt/notmuch-mutt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/contrib/notmuch-mutt/notmuch-mutt b/contrib/notmuch-mutt/notmuch-mutt
> index 1ac68065..b81252c8 100755
> --- a/contrib/notmuch-mutt/notmuch-mutt
> +++ b/contrib/notmuch-mutt/notmuch-mutt
> @@ -67,7 +67,7 @@ sub check_search_cache_maildir($) {
>      foreach my $d (@contents) {
>          -l "$maildir/$d" and die_dir( $maildir, "contains symlink $d");
>          -d "$maildir/$d" or die_dir( $maildir, "contains non-directory $d");
> -        exists($required[$d]) or die_dir( $maildir, "contains directory $d");
> +        exists($required{$d}) or die_dir( $maildir, "contains directory $d");
>      }
>  }
>  
> -- 
> 2.42.0
>
> _______________________________________________
> notmuch mailing list -- notmuch@notmuchmail.org
> To unsubscribe send an email to notmuch-leave@notmuchmail.org

applied to release and master (will be part of 0.38.1)

d
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: