[exim-dev] [Bug 3123] New: Two patches to fix recently broke…

Top Page
Delete this message
Reply to this message
Author: Exim Bugzilla
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 3123] New: Two patches to fix recently broken code
https://bugs.exim.org/show_bug.cgi?id=3123

            Bug ID: 3123
           Summary: Two patches to fix recently broken code
           Product: Exim
           Version: 4.99
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Unfiled
          Assignee: unallocated@???
          Reporter: exim@???
                CC: exim-dev@???


Created attachment 1500
--> https://bugs.exim.org/attachment.cgi?id=1500&action=edit
Don't initialise acl_wherenames[ACL_WHERE_ATRN] twice

First attachment:
Don't initialise acl_wherenames[ACL_WHERE_ATRN] twice in globals.c
globals.c:522:55: error: initializer overrides prior initialization of this
subobject [-Werror,-Winitializer-overrides]
  522 |                                    [ACL_WHERE_ATRN] =   US"450",
      |                                                         ^~~~~~~
./mytypes.h:89:14: note: expanded from macro 'US'
   89 | #define US   (unsigned char *)
      |              ^
globals.c:519:55: note: previous initialization is here
  519 |                                    [ACL_WHERE_ATRN] =   US"450",
      |                                                         ^~~~~~~
./mytypes.h:89:14: note: expanded from macro 'US'
   89 | #define US   (unsigned char *)
      |              ^
1 error generated.


Second attachment:
Nested/unclosed /* */ comments in smtp_in.c
smtp_in.c:5622:7: error: '/*' within block comment [-Werror,-Wcomment]
 5622 |       /* ACK the command, record the connection details
      |       ^


--
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/