[exim-dev] [Bug 2392] New: Option processing is case-insensi…

Página Inicial
Delete this message
Reply to this message
Autor: admin
Data:  
Para: exim-dev
Assunto: [exim-dev] [Bug 2392] New: Option processing is case-insensitive
https://bugs.exim.org/show_bug.cgi?id=2392

            Bug ID: 2392
           Summary: Option processing is case-insensitive
           Product: Exim
           Version: 4.92
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Exigrep
          Assignee: nigel@???
          Reporter: eximusers@???
                CC: exim-dev@???


Hello,

this was originally reported as http://bugs.debian.org/927280 by Christian von
Kietzell.

exigrep has two options whose short versions only differ in case (-m and -M)
however both are handled as if -m (---man) was specified since Getopt::Long is
not case sensitive by default.

Adding
Getopt::Long::Configure('no_ignore_case');
works for me.

Alternatively it should be safe to switch to a different short version instead
of -M for --related (or for -m --man respectively) since -M cannot be in use
successfully by scripts. This way would not break insensitive option matching
which might be used in existing scripts for other options.

cu Andreas

--
You are receiving this mail because:
You are on the CC list for the bug.