Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 May 2003 23:11:02 -0700 (PDT)
From:      Greg Lewis <glewis@FreeBSD.org>
To:        ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: ports/java/jdk13/files patch-iomgr.c
Message-ID:  <200305060611.h466B2io078265@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305060611.h466B2io078265>