Bug 12

Summary: incomplete configure checks for 64 bit int types
Product: Portable OpenSSH Reporter: Tim Mooney <mooney>
Component: Build systemAssignee: Tim Rice <tim>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: -current   
Hardware: All   
OS: All   
Attachments:
Description Flags
add configure checks for 64 bit types in sys/bitypes.h none

Description Tim Mooney 2001-11-10 04:01:26 AEDT
OpenSSH 2.9p2 and later (including 3.0p1) have a configure that checks for 64
bit int types,
but it only checks sys/types.h and sys/socket.h.  Some platforms (e.g. Tru64
UNIX 5.x) have the
int64_t and u_int64_t prototypes elsewhere (e.g. sys/bitypes.h).

The patch I'll be attaching to this applies cleanly against 3.0p1 once you tell
it to use
configure.ac rather than configure.in.  The patch itself just adds sys/bitypes.h
to the list
of headers searched for the int64_t and u_int64_t prototypes.

One additional improvement that the patch does *not* address is adding
inttypes.h to the
list of headers that are searched for 64 bit prototypes.  I didn't do it because
I assumed
there must be some reason why it was left off the list (i.e. it causes problems
on some platforms?).
If that's not the case, I think it too should be added to the list of headers to
search for the
various prototypes.
Comment 1 Tim Mooney 2001-11-10 04:02:21 AEDT
Created attachment 3 [details]
add configure checks for 64 bit types in sys/bitypes.h
Comment 2 Tim Rice 2002-02-26 17:07:38 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 3 Tim Rice 2002-03-09 04:34:54 AEDT
Fixed 26 Feb 2002
Comment 4 Damien Miller 2004-04-14 12:24:17 AEST
Mass change of RESOLVED bugs to CLOSED