This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

tst-ungetc fails (fp != NULL)


>Submitter-Id:	net
>Originator:	Danek Duvall
>
>Confidential:	no
>Synopsis:	tst-ungetc fails with fp != NULL due to mktemp failure
>Severity:	serious
>Priority:	medium
>Category:	libc
>Class:		sw-bug
>Release:	libc-2.0.106
>Environment:
	
Host type: i586-pc-linux-gnulibc1
System: Linux lorien.emufarm.ml.org 2.1.130 #3 Wed Dec 2 21:08:31 PST 1998 i586 unknown
Architecture: i586

Addons: crypt linuxthreads

Build CC: gcc
Compiler version: pgcc-2.91.60 19981201 (egcs-1.1.1 release)
Kernel headers: 2.1.130
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: no
Build omitfp: no
Build bounded: no
Build static-nss: no
Stdio: libio

>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.

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.

>Fix:

Got me.  :)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]