cvs commit: ports/java/jdk13/files patch-iomgr.c
Greg Lewis
glewis at FreeBSD.org
Mon May 5 23:11:04 PDT 2003
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)
More information about the cvs-all
mailing list