From randy@sierra.zyzzyva.com  Tue Nov 19 08:37:47 1996
Received: from sierra.zyzzyva.com (ppp0.zyzzyva.com [198.183.2.50])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA15815
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 19 Nov 1996 08:37:41 -0800 (PST)
Received: (from root@localhost) by sierra.zyzzyva.com (8.8.2/8.8.2) id KAA03695; Tue, 19 Nov 1996 10:37:38 -0600 (CST)
Message-Id: <199611191637.KAA03695@sierra.zyzzyva.com>
Date: Tue, 19 Nov 1996 10:37:38 -0600 (CST)
From: randy@zyzzyva.com
Reply-To: randy@zyzzyva.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: include file bugs
X-Send-Pr-Version: 3.2

>Number:         2060
>Category:       misc
>Synopsis:       include files don't agree on prototypes
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 19 08:40:04 PST 1996
>Closed-Date:    Fri Feb 14 14:38:28 PST 1997
>Last-Modified:  Fri Feb 14 14:47:49 PST 1997
>Originator:     Randy Terbush
>Release:        FreeBSD 2.1.6-RELEASE i386
>Organization:
Zyzzyva Enterprises
>Environment:

	FreeBSD 2.1.6

>Description:

	include/link.h and include/dlfcn.h disagree about prototypes
	listed as "critical" knowing pending release

>How-To-Repeat:

	compile something using dl functions

>Fix:
	

*** /usr/include/link.h.orig	Tue Nov 19 10:15:24 1996
--- src/include/link.h	Tue Nov 19 10:17:58 1996
***************
*** 174,182 ****
   * to crt0.
   */
  struct ld_entry {
! 	void	*(*dlopen) __P((char *, int));		/* NONE */
  	int	(*dlclose) __P((void *));		/* NONE */
! 	void	*(*dlsym) __P((void *, char *));	/* NONE */
  	char	*(*dlerror) __P((void));		/* NONE */
  	void	(*dlexit) __P((void));			/* HAS_DLEXIT */
  };
--- 174,182 ----
   * to crt0.
   */
  struct ld_entry {
! 	void	*(*dlopen) __P((const char *, int));	/* NONE */
  	int	(*dlclose) __P((void *));		/* NONE */
! 	void	*(*dlsym) __P((void *, const char *));	/* NONE */
  	char	*(*dlerror) __P((void));		/* NONE */
  	void	(*dlexit) __P((void));			/* HAS_DLEXIT */
  };
***************
*** 184,192 ****
  /*
   * dl*() prototypes.
   */
! extern void	*dlopen __P((char *, int));
  extern int	dlclose __P((void *));
! extern void	*dlsym __P((void *, char *));
  extern char	*dlerror __P((void));
  
  
--- 184,192 ----
  /*
   * dl*() prototypes.
   */
! extern void	*dlopen __P((const char *, int));
  extern int	dlclose __P((void *));
! extern void	*dlsym __P((void *, const char *));
  extern char	*dlerror __P((void));
  
  

>Release-Note:
>Audit-Trail:

From: J Wunsch <j@uriah.heep.sax.de>
To: randy@zyzzyva.com
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: misc/2060: include file bugs
Date: Sun, 8 Dec 1996 19:51:10 +0100 (MET)

 As randy@zyzzyva.com wrote:
 
 > 	include/link.h and include/dlfcn.h disagree about prototypes
 > 	listed as "critical" knowing pending release
 
 They seem to match in 2.2 and 3.0-current, although somebody
 apparently preferred the non-const version there.  Do you have the
 chance to verify the PR on such a system?
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)
State-Changed-From-To: open->closed 
State-Changed-By: jmg 
State-Changed-When: Fri Feb 14 14:38:28 PST 1997 
State-Changed-Why:  
this is fixed in rev 1.2 of src/lib/csu/i386/dlfcn.h 
>Unformatted:
