tst-ungetc fails (fp != NULL)

Andreas Jaeger aj@arthur.rhein-neckar.de
Sun Dec 13 12:06:00 GMT 1998


>>>>> duvall  writes:
>> Description:

 > In the test stdio-common/tst-ungetc, it looks like mktemp is failing,
 > returning NULL, causing the fopen() call to fail, returning NULL, and the
 > assertion then fails.

AFAIK tst-ungetc doesn't call mktemp but it calls tmpnam.  Do you have
$TMPDIR set?  Does $TMPDIR exist (see sysdeps/posix/tempname.c) ?
Otherwise I fear you've got to debug what exactly breaks :-(

 > I don't know if this is a serious problem, but I'm not installing the
 > library until it passes `make check'.  ;-)

>> How-To-Repeat:

 > Built with pgcc-1.1.1, binutils 2.9.1.0.19, and kernel 2.1.130 (current
 > libc is 5.4.46).  Configured with --enable-add-ons --prefix=/usr.  Make
 > runs just fine, but make check fails here.  This happened with 2.0.105 as
 > well.

I've never seen this problem - but I'm not upgrading from libc5;-).

Andreas
-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de



More information about the Libc-alpha mailing list