Hurd: errno really uses more than a short-sized value. Bug 2476
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 4 Dec 2019 21:30:01 +0000 (21:30 +0000)
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Wed, 11 Dec 2019 16:27:26 +0000 (17:27 +0100)
(cherry picked from commit 377da0430697e6bcb8c48744eb5af4272a8f8075)

src/src/structs.h

index 3b5818d..c057781 100644 (file)
@@ -648,11 +648,11 @@ typedef struct address_item {
   unsigned int domain_cache[(MAX_NAMED_LIST * 2)/32];
   unsigned int localpart_cache[(MAX_NAMED_LIST * 2)/32];
   int     mode;                   /* mode for local transporting to a file */
+  int    basic_errno;            /* status after failure */
   int     more_errno;             /* additional error information */
                                   /* (may need to hold a timestamp) */
   unsigned int delivery_usec;    /* subsecond part of delivery time */
 
-  short int basic_errno;          /* status after failure */
   unsigned short child_count;     /* number of child addresses */
   short int return_file;          /* fileno of return data file */
   short int special_action;       /* ( used when when deferred or failed */