From owner-cvs-all Sat Jun 8 17:46:27 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7A3E737B400; Sat, 8 Jun 2002 17:46:24 -0700 (PDT) Received: (from mike@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g590kO395688; Sat, 8 Jun 2002 17:46:24 -0700 (PDT) (envelope-from mike) Message-Id: <200206090046.g590kO395688@freefall.freebsd.org> From: Mike Barcroft Date: Sat, 8 Jun 2002 17:46:24 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/realpath realpath.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 mike 2002/06/08 17:46:24 PDT Modified files: bin/realpath realpath.c Log: Check the return value of getcwd() to avoid printf()ing a NULL. Mark usage() as __dead2 to avoid a GCC warning. Spotted by: keramida Revision Changes Path 1.2 +5 -4 src/bin/realpath/realpath.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message