Bug 12 - incomplete configure checks for 64 bit int types
Summary: incomplete configure checks for 64 bit int types
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: -current
Hardware: All All
: P2 normal
Assignee: Tim Rice
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-10 04:01 AEDT by Tim Mooney
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments
add configure checks for 64 bit types in sys/bitypes.h (1.43 KB, patch)
2001-11-10 04:02 AEDT, Tim Mooney
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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