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)
committerJeremy Harris <jgh146exb@wizmail.org>
Wed, 4 Dec 2019 21:42:52 +0000 (21:42 +0000)
src/src/structs.h

index 1d867c5b65c36fa5b5e3c91289c4494f0a2d9ec2..9927bc527296b95c7acfb8f822373e840f045a82 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 */