Bug#1006661: exim4-base: Syntax Error in exiqgrep

Sergio Durigan Junior sergiodj at sergiodj.net
Wed Mar 30 22:56:01 BST 2022


Control: tags -1 + patch

On Tuesday, March 01 2022, Paul Saunders wrote:

> Dear Maintainer,
>
> When running /usr/sbin/exiqgrep, a Syntax Error is reported, and the
> program quits:
>
> $ /usr/sbin/exiqgrep
> syntax error at /usr/sbin/exiqgrep line 56, near ") {"                                                           
> syntax error at /usr/sbin/exiqgrep line 56, near ";}"                                                            
> syntax error at /usr/sbin/exiqgrep line 57, near ";}"                                                            
> syntax error at /usr/sbin/exiqgrep line 58, near ";}"                                                            
> Execution of /usr/sbin/exiqgrep aborted due to compilation errors.    
>
> Looking at the code, the problem appears to be that line 56 is of the
> form:
>
>   if (!getops(...) { ...}
>
> The unbalanced parentheses are the problem. Adding a second closing
> bracket after the getopts call fixes the issue.

This has been fixed upstream by:

https://git.exim.org/exim.git/commitdiff/42ed39da5af85552a35626348bb77e5576e18aa4

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-exim4-maintainers/attachments/20220330/48c0f633/attachment.sig>


More information about the Pkg-exim4-maintainers mailing list