Avoid Solaris compiler issue
authorJeremy Harris <jgh146exb@wizmail.org>
Wed, 22 Jan 2020 11:27:34 +0000 (11:27 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Wed, 22 Jan 2020 11:27:34 +0000 (11:27 +0000)
src/src/structs.h
test/runtest

index 631e0f2..aa394ac 100644 (file)
@@ -888,8 +888,8 @@ typedef struct namedlist_cacheblock {
 typedef struct namedlist_block {
   const uschar *string;                        /* the list string */
   namedlist_cacheblock *cache_data;    /* cached domain_data or localpart_data */
-  int          number:31;              /* the number of the list for caching */
-  BOOL         hide:1;                 /* -bP does not display value */
+  short                number;                 /* the number of the list for caching */
+  BOOL         hide;                   /* -bP does not display value */
 } namedlist_block;
 
 /* Structures for Access Control Lists */
index c590ffc..1b704b1 100755 (executable)
@@ -1320,6 +1320,7 @@ RESET_AFTER_EXTRA_LINE_READ:
 
     # Platform differences in errno strings
     s/  SMTP\(Operation timed out\)<</  SMTP(Connection timed out)<</;
+    s/Arg list too long/Argument list too long/;
 
     # Platform differences for errno values (eg. Hurd)
     s/^errno = \d+$/errno = EEE/;