[2442] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

krb5-libs/178: conflict between util/db2 and BIND 4.9.4 Patch 1 re u_int_*

daemon@ATHENA.MIT.EDU (tlyu@MIT.EDU)
Tue Nov 12 15:58:40 1996

Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: krb5-unassigned@RT-11.MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, tlyu@MIT.EDU
Date: Tue, 12 Nov 1996 15:57:06 -0500
From: tlyu@MIT.EDU
Reply-To: tlyu@MIT.EDU
To: krb5-bugs@MIT.EDU


>Number:         178
>Category:       krb5-libs
>Synopsis:       conflict between util/db2 and BIND 4.9.4 Patch 1 re u_int_*
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    krb5-unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Tue Nov 12 15:58:01 EST 1996
>Last-Modified:
>Originator:     Paul Pomes <ppomes@Qualcomm.com>
>Organization:
mit
>Release:        1.0-development
>Environment:
	
System: SunOS tesla-coil 5.4 Generic_101945-37 sun4m sparc


>Description:
[2249]  daemon@ATHENA.MIT.EDU (Paul Pomes) Kerberos-V5-bugs 09/20/96 13:30 (25 lines)
Subject: conflict between util/db2 and BIND 4.9.4 Patch 1 re u_int_*
Date: Fri, 20 Sep 1996 10:29:56 -0700 (PDT)
From: Paul Pomes <ppomes@Qualcomm.com>
To: krb5-bugs@MIT.EDU

BIND's .../sys/bitypes.h is included by netdb.h .  It defines the following
typedefs

	typedef /*signed*/ char            int8_t;
	typedef unsigned char            u_int8_t;
	typedef short                     int16_t;
	typedef unsigned short          u_int16_t;
	typedef int                       int32_t;
	typedef unsigned int            u_int32_t;

Unfortunately this file isn't checked by configure, nor should it I think.
One way to avoid the problem is for configure to also emit a wrapper
similar to what sys/bitypes.h uses


#ifndef __BIT_TYPES_DEFINED__
#define __BIT_TYPES_DEFINED__

 .....

#endif	/* __BIT_TYPES_DEFINED__ */
--[2249]--
	
>How-To-Repeat:
	
>Fix:
	
>Audit-Trail:
>Unformatted:

home help back first fref pref prev next nref lref last post