Bug 102 - defines.h modifications for proper UNICOS behavior
Summary: defines.h modifications for proper UNICOS behavior
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: -current
Hardware: Other Other
: P2 normal
Assignee: Tim Rice
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-05 06:23 AEDT by wendy palm
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wendy palm 2002-02-05 06:23:47 AEDT
--- defines.h.orig      Mon Feb  4 12:32:52 2002
+++ defines.h   Mon Feb  4 13:04:07 2002
@@ -161,7 +161,11 @@
 typedef short int int16_t;
 # else
 #  ifdef _CRAY
+#   if (SIZEOF_SHORT_INT == 4)
+typedef short int16_t;
+#   else
 typedef long  int16_t;
+#   endif
 #  else
 #   error "16 bit int type not found."
 #  endif /* _CRAY */
@@ -194,7 +198,11 @@
 typedef unsigned short int u_int16_t;
 #  else
 #   ifdef _CRAY
+#    if (SIZEOF_SHORT_INT == 4)
+typedef unsigned short u_int16_t;
+#    else
 typedef unsigned long  u_int16_t;
+#    endif
 #   else
 #    error "16 bit int type not found."
 #   endif
Comment 1 Tim Rice 2002-02-26 17:01:28 AEDT
I've addressed this bug (and several others) in modifications i'm in
the process of testing now. If all my machines build OK I'll commit in
the morning.
Comment 2 Tim Rice 2002-03-09 04:34:07 AEDT
Patch added 26 Feb 2002
Comment 3 Damien Miller 2004-04-14 12:24:17 AEST
Mass change of RESOLVED bugs to CLOSED