[exim-cvs] Avoid Solaris compiler issue

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Exim Git Commits Mailing List
Datum:  
To: exim-cvs
Betreff: [exim-cvs] Avoid Solaris compiler issue
Gitweb: https://git.exim.org/exim.git/commitdiff/94effde9cace54a4b164001da229d59cc46c20ca
Commit:     94effde9cace54a4b164001da229d59cc46c20ca
Parent:     7bca7fc46f67023eeeff53ebf8cf9bdb27f336c2
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Wed Jan 22 11:27:34 2020 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Wed Jan 22 11:27:34 2020 +0000


    Avoid Solaris compiler issue
---
 src/src/structs.h | 4 ++--
 test/runtest      | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)


diff --git a/src/src/structs.h b/src/src/structs.h
index 631e0f2..aa394ac 100644
--- a/src/src/structs.h
+++ b/src/src/structs.h
@@ -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 */
diff --git a/test/runtest b/test/runtest
index c590ffc..1b704b1 100755
--- a/test/runtest
+++ b/test/runtest
@@ -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/;