From owner-cvs-all@FreeBSD.ORG Mon May 5 23:11:03 2003 Return-Path: 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 C29B837B401; Mon, 5 May 2003 23:11:03 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C59F43F85; Mon, 5 May 2003 23:11:03 -0700 (PDT) (envelope-from glewis@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 h466B30U078266; Mon, 5 May 2003 23:11:03 -0700 (PDT) (envelope-from glewis@repoman.freebsd.org) Received: (from glewis@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h466B2io078265; Mon, 5 May 2003 23:11:02 -0700 (PDT) Message-Id: <200305060611.h466B2io078265@repoman.freebsd.org> From: Greg Lewis Date: Mon, 5 May 2003 23:11:02 -0700 (PDT) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: ports/java/jdk13/files patch-iomgr.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2003 06:11:04 -0000 glewis 2003/05/05 23:11:02 PDT FreeBSD ports repository Added files: java/jdk13/files patch-iomgr.c Log: . Remove an assert() which asserts that if isatty() is true then ttyname() must not return NULL. This isn't entirely true according to the manual page (the device must be able to be found as well) and certainly appears to not necessarily be true in the package building environment on bento (plus at least the PR submitter's environment). Note that this assert() was, of course, only ever triggered when running in debug mode (which most people don't, but does happen during the build in some parts). Also note that there is a check for isatty() preceding the call for ttyname() and a NULL return from ttyname() is handled, so removing this assert should not create any problems. PR: 48164 Revision Changes Path 1.1 +12 -0 ports/java/jdk13/files/patch-iomgr.c (new)