From owner-freebsd-sparc64@FreeBSD.ORG Sun Nov 23 12:20:37 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BDC516A4CE for ; Sun, 23 Nov 2003 12:20:37 -0800 (PST) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 59D0B43FB1 for ; Sun, 23 Nov 2003 12:20:31 -0800 (PST) (envelope-from tmoestl@gmx.net) Received: (qmail 16876 invoked by uid 65534); 23 Nov 2003 20:20:30 -0000 Received: from p508E7AB5.dip.t-dialin.net (EHLO timesink.dyndns.org) (80.142.122.181) by mail.gmx.net (mp002) with SMTP; 23 Nov 2003 21:20:30 +0100 X-Authenticated: #5374206 Received: by rota (Postfix, from userid 1001) id 7CEF6EE; Sun, 23 Nov 2003 21:21:47 +0100 (CET) Date: Sun, 23 Nov 2003 21:21:46 +0100 From: Thomas Moestl To: Kris Kennaway Message-ID: <20031123202146.GA52242@timesink.dyndns.org> Mail-Followup-To: Kris Kennaway , steve@freebsd.org, sparc64@freebsd.org References: <20031122223114.GA27817@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline In-Reply-To: <20031122223114.GA27817@xor.obsecurity.org> User-Agent: Mutt/1.5.5.1i cc: steve@freebsd.org cc: sparc64@freebsd.org Subject: Re: open-motif-2.2.2_1 broken on sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2003 20:20:37 -0000 --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, 2003/11/22 at 14:31:14 -0800, Kris Kennaway wrote: > http://bento.freebsd.org/errorlogs/sparc64-5-latest/open-motif-2.2.2_1.log > > Can someone please investigate? This package is supposed to be > included on the disc 1 image. The attached patch should fix that. - Thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-lib::Mrm::MrmItop.c" --- lib/Mrm/MrmItop.c~ Fri Jan 11 14:56:23 2002 +++ lib/Mrm/MrmItop.c Sun Nov 23 19:42:03 2003 @@ -642,10 +642,11 @@ * Local variables */ Cardinal result ; /* function results */ + IDBResource resid ; if ( (result=Idb__FIL_Valid((IDBFile)file_id)) != MrmSUCCESS ) return result ; - result = Idb__RID_NextRID ((IDBFile)file_id, - (IDBResource *)resource_id_return) ; + result = Idb__RID_NextRID ((IDBFile)file_id, &resid) ; + if ( result == MrmSUCCESS ) *resource_id_return = resid; return result ; } --ew6BAiZeqk4r7MaW--