From prasadj@fortune-cookie.cam.ov.com Fri Nov 8 17:38:44 1996
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id RAA03708 for <bugs@RT-11.MIT.EDU>; Fri, 8 Nov 1996 17:38:43 -0500
Received: from fortune-cookie.cam.ov.com by MIT.EDU with SMTP
id AA21928; Fri, 8 Nov 96 17:38:42 EST
Received: by fortune-cookie.cam.ov.com. (SMI-8.6/SMI-SVR4)
id RAA11594; Fri, 8 Nov 1996 17:38:38 -0500
Message-Id: <199611082238.RAA11594@fortune-cookie.cam.ov.com.>
Date: Fri, 8 Nov 1996 17:38:38 -0500
From: prasadj@fortune-cookie.cam.ov.com (Prasad Jonnalagadda)
Reply-To: prasadj@fortune-cookie.cam.ov.com
To: krb5-bugs@MIT.EDU
Cc: prasad@grf.ov.com
Subject: "dbopen" clashes with sybase function of same name
X-Send-Pr-Version: 3.99
Architecture: sun4
function "dbopen". As long as there is no mix between Sybase
and BSD db libraries, there is no problem. In BED library, dbopen()
function is available in ~/db/db.c
header file that's included by everything that uses the DB library
(and, hopefully, by everything inside the DB library as well),
probably "db.h", and do "#define dbopen bsd_dbopen" in it. That way,
we'll only have to worry about keeping the change in that one file
when we upgrade to new BSD db versions.
So, just put the #define in "db.h" before the declaration of dbopen.
From: Sam Hartman <hartmans@MIT.EDU>
To: Unassigned Problem Report <krb5-unassigned@RT-11.MIT.EDU>
Cc: krb5-bugs@MIT.EDU
Subject: Re: krb5-misc/168: "dbopen" clashes with sybase function of same name
Date: Sat, 9 Nov 1996 08:05:35 -0500
`Sam Hartman' made changes to this PR.
*** /tmp/gnatsa002OL Sat Nov 9 08:03:52 1996
--- /tmp/gnatsb002OL Sat Nov 9 08:05:06 1996
***************
*** 18,24 ****
State-Changed-From-To: open-closed
State-Changed-By: tlyu
State-Changed-When: Sun Mar 1 23:10:50 1998
State-Changed-Why:
No longer relevant, as our db symbols are now renamed.
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id RAA03708 for <bugs@RT-11.MIT.EDU>; Fri, 8 Nov 1996 17:38:43 -0500
Received: from fortune-cookie.cam.ov.com by MIT.EDU with SMTP
id AA21928; Fri, 8 Nov 96 17:38:42 EST
Received: by fortune-cookie.cam.ov.com. (SMI-8.6/SMI-SVR4)
id RAA11594; Fri, 8 Nov 1996 17:38:38 -0500
Message-Id: <199611082238.RAA11594@fortune-cookie.cam.ov.com.>
Date: Fri, 8 Nov 1996 17:38:38 -0500
From: prasadj@fortune-cookie.cam.ov.com (Prasad Jonnalagadda)
Reply-To: prasadj@fortune-cookie.cam.ov.com
To: krb5-bugs@MIT.EDU
Cc: prasad@grf.ov.com
Subject: "dbopen" clashes with sybase function of same name
X-Send-Pr-Version: 3.99
Show quoted text
>Number: 168
>Category: krb5-misc
>Synopsis: "dbopen" clashes with sybase function of same name
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: krb5-unassigned
>State: closed
>Class: change-request
>Submitter-Id: unknown
>Arrival-Date: Fri Nov 08 17:39:00 EST 1996
>Last-Modified: Sun Mar 01 23:11:09 EST 1998
>Originator: Prasad Jonnalagadda
>Organization:
OpenVision Technologies, Inc.>Category: krb5-misc
>Synopsis: "dbopen" clashes with sybase function of same name
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: krb5-unassigned
>State: closed
>Class: change-request
>Submitter-Id: unknown
>Arrival-Date: Fri Nov 08 17:39:00 EST 1996
>Last-Modified: Sun Mar 01 23:11:09 EST 1998
>Originator: Prasad Jonnalagadda
>Organization:
Show quoted text
>Release:
>Environment:
System: SunOS fortune-cookie.cam.ov.com 5.5.1 Generic sun4m sparc SUNW,SPARCstation-LX>Environment:
Architecture: sun4
Show quoted text
>Description:
The function dbopen() of BSD db conflicts with Sybase's dblib function "dbopen". As long as there is no mix between Sybase
and BSD db libraries, there is no problem. In BED library, dbopen()
function is available in ~/db/db.c
Show quoted text
>How-To-Repeat:
Try linking something with both BSD libs and Sybase.Show quoted text
>Fix:
I think what we should probably do is find the generic DB libraryheader file that's included by everything that uses the DB library
(and, hopefully, by everything inside the DB library as well),
probably "db.h", and do "#define dbopen bsd_dbopen" in it. That way,
we'll only have to worry about keeping the change in that one file
when we upgrade to new BSD db versions.
So, just put the #define in "db.h" before the declaration of dbopen.
Show quoted text
>Audit-Trail:
From: Sam Hartman <hartmans@MIT.EDU>
To: Unassigned Problem Report <krb5-unassigned@RT-11.MIT.EDU>
Cc: krb5-bugs@MIT.EDU
Subject: Re: krb5-misc/168: "dbopen" clashes with sybase function of same name
Date: Sat, 9 Nov 1996 08:05:35 -0500
`Sam Hartman' made changes to this PR.
*** /tmp/gnatsa002OL Sat Nov 9 08:03:52 1996
--- /tmp/gnatsb002OL Sat Nov 9 08:05:06 1996
***************
*** 18,24 ****
Show quoted text
>Synopsis: "dbopen" clashes with sybase function of same name
>Confidential: no
>Severity: non-critical
! >Priority: medium>Confidential: no
>Severity: non-critical
Show quoted text
>Responsible: krb5-unassigned
>State: open
>Class: change-request
--- 18,24 ---->State: open
>Class: change-request
Show quoted text
>Synopsis: "dbopen" clashes with sybase function of same name
>Confidential: no
>Severity: non-critical
! >Priority: low>Confidential: no
>Severity: non-critical
Show quoted text
>Responsible: krb5-unassigned
>State: open
>Class: change-request
>State: open
>Class: change-request
State-Changed-From-To: open-closed
State-Changed-By: tlyu
State-Changed-When: Sun Mar 1 23:10:50 1998
State-Changed-Why:
No longer relevant, as our db symbols are now renamed.
Show quoted text
>Unformatted: