[exim-dev] [Bug 3097] New: an "unifdef" facility

Góra strony
Delete this message
Reply to this message
Autor: Exim Bugzilla
Data:  
Dla: exim-dev
Temat: [exim-dev] [Bug 3097] New: an "unifdef" facility
https://bugs.exim.org/show_bug.cgi?id=3097

            Bug ID: 3097
           Summary: an "unifdef" facility
           Product: Exim
           Version: 4.98
          Hardware: All
                OS: All
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: Unfiled
          Assignee: unallocated@???
          Reporter: jgh146exb@???
                CC: exim-dev@???


The process of tidying up outdated .ifdeffery in a large config is tedious and
error-prone. An automated way of generating a modified config file from an
existing
one, applying one specified define (or not-define) would be a useful tool.

Retaining comments and whitespace would be needed.
Retaining separation of .included files would be useful, though perhaps
not needed in an initial implementation.
Handling a set of (un)defines in one go might be a useful extension.

The affected code is probably all in readconf.c (apart from the option-handling
in
exim.c if this is not a standalone tool. But it probably should be a
standalone
binary, sharing radconf.c).

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

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/