Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.411 (Entity 5.404) X-RT-Original-Encoding: iso-8859-1 Content-Length: 3353 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 ; 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 >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. >Release: >Environment: System: SunOS fortune-cookie.cam.ov.com 5.5.1 Generic sun4m sparc SUNW,SPARCstation-LX Architecture: sun4 >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 >How-To-Repeat: Try linking something with both BSD libs and Sybase. >Fix: I think what we should probably do is find the generic DB library 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. >Audit-Trail: From: Sam Hartman To: Unassigned Problem Report 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 **** >Synopsis: "dbopen" clashes with sybase function of same name >Confidential: no >Severity: non-critical ! >Priority: medium >Responsible: krb5-unassigned >State: open >Class: change-request --- 18,24 ---- >Synopsis: "dbopen" clashes with sybase function of same name >Confidential: no >Severity: non-critical ! >Priority: low >Responsible: krb5-unassigned >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. >Unformatted: