From owner-cvs-all Sun Sep 3 9:58:27 2000 Delivered-To: cvs-all@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 6CF7B37B424; Sun, 3 Sep 2000 09:58:23 -0700 (PDT) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id SAA77732; Sun, 3 Sep 2000 18:58:22 +0200 (CEST) (envelope-from des@flood.ping.uio.no) To: Peter Wemm Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/savecore savecore.c References: <200009030702.AAA40011@freefall.freebsd.org> From: Dag-Erling Smorgrav Date: 03 Sep 2000 18:58:21 +0200 In-Reply-To: Peter Wemm's message of "Sun, 3 Sep 2000 00:02:01 -0700 (PDT)" Message-ID: Lines: 12 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Wemm writes: > Log: > I'm not sure what changed to cause this, but using 'dirname' as a variable > was colliding with dirname() in libc.a and causing a Sig 10/bus error. > Just change dirname to savedir and be done with it. Umm, sounds like linker bogosity to me. It could probably have been solved by making dirname (and various other global variables) static. DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message