From owner-cvs-all Sun Dec 29 17:41:16 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF4A637B401; Sun, 29 Dec 2002 17:41:15 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7960143EC2; Sun, 29 Dec 2002 17:41:15 -0800 (PST) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gBU1fFfh038959; Sun, 29 Dec 2002 17:41:15 -0800 (PST) (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gBU1fF23038958; Sun, 29 Dec 2002 17:41:15 -0800 (PST) Message-Id: <200212300141.gBU1fF23038958@repoman.freebsd.org> From: Marcel Moolenaar Date: Sun, 29 Dec 2002 17:41:15 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen basename.c dirname.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG marcel 2002/12/29 17:41:15 PST Modified files: lib/libc/gen basename.c dirname.c Log: Fix LP64 architectures and especially ia64. Functions that return a pointer and lack a prototype will have the return value (assumed to be an integer) zero-extended to a pointer. On ia64 this is unconditionally fatal as it zeroes-out the region bits, forming an invalid pointer. Fix the sigsegv by including . Pointy hat: bbraun Revision Changes Path 1.7 +1 -0 src/lib/libc/gen/basename.c 1.7 +1 -0 src/lib/libc/gen/dirname.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message