NetBSD Problem Report #41901

From www@NetBSD.org  Mon Aug 17 07:48:54 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 013ED63C285
	for <gnats-bugs@gnats.netbsd.org>; Mon, 17 Aug 2009 07:48:53 +0000 (UTC)
Message-Id: <20090817074853.CA7F463BDF9@www.NetBSD.org>
Date: Mon, 17 Aug 2009 07:48:53 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: One missing "(" in mipmap.c
X-Send-Pr-Version: www-1.0

>Number:         41901
>Category:       xsrc
>Synopsis:       One missing "(" in mipmap.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 17 07:50:00 +0000 2009
>Closed-Date:    Mon Aug 17 23:56:00 +0000 2009
>Last-Modified:  Tue Aug 18 00:00:05 +0000 2009
>Originator:     Henning Petersen
>Release:        current-NetBSD
>Organization:
>Environment:
>Description:
One missing "(" in mipmap.c
>How-To-Repeat:

>Fix:
diff -u -r1.1.1.2 mipmap.c
--- MesaLib/dist/src/glu/sgi/libutil/mipmap.c	11 Jun 2009 00:50:22 -0000	1.1.1.2
+++ MesaLib/dist/src/glu/sgi/libutil/mipmap.c	17 Aug 2009 07:00:42 -0000
@@ -6643,7 +6643,7 @@
 	 pTexImage3D = (TexImage3Dproc) wglGetProcAddress("glTexImage3DEXT");
 #else
       void *libHandle = dlopen("libgl.so", RTLD_LAZY);
-      pTexImage3D = TexImage3Dproc) dlsym(libHandle, "glTexImage3D" );
+      pTexImage3D = (TexImage3Dproc) dlsym(libHandle, "glTexImage3D" );
       if (!pTexImage3D)
 	 pTexImage3D = (TexImage3Dproc) dlsym(libHandle,"glTexImage3DEXT");
       dlclose(libHandle);

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: jnemeth@NetBSD.org
State-Changed-When: Mon, 17 Aug 2009 23:56:00 +0000
State-Changed-Why:
patch applied, thanks for the PR!


From: John Nemeth <jnemeth@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41901 CVS commit: xsrc/external/mit/MesaLib/dist/src/glu/sgi/libutil
Date: Mon, 17 Aug 2009 23:55:26 +0000

 Module Name:	xsrc
 Committed By:	jnemeth
 Date:		Mon Aug 17 23:55:26 UTC 2009

 Modified Files:
 	xsrc/external/mit/MesaLib/dist/src/glu/sgi/libutil: mipmap.c

 Log Message:
 PR/41901 - Henning Petersen -- missing "("


 To generate a diff of this commit:
 cvs rdiff -u -r1.1.1.2 -r1.2 \
     xsrc/external/mit/MesaLib/dist/src/glu/sgi/libutil/mipmap.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.