This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: sysdeps/posix/tempname.c is broken.
- To: hjl@lucon.org (H.J. Lu)
- Subject: Re: sysdeps/posix/tempname.c is broken.
- From: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Date: 15 Dec 1998 19:01:16 +0100
- Cc: drepper@cygnus.com (Ulrich Drepper), libc-hacker@cygnus.com (GNU C Library)
- References: <m0zpy38-00038tC@ocean.lucon.org>
>>>>> H J Lu writes:
HJ Lu> Hi,
HJ Lu> sysdeps/posix/tempname.c is broken. "make check" failed in assert and
HJ Lu> stdio-common.
The following patch is needed on top of what's currently under cvs.
My patch to fix Uli's patch was broken:-(.
I'm still building the whole glibc so that I can't verify if it passes
`make check' now but this *should* be the final fix for it.
Andreas
1998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/posix/tempname.c (__path_search): Correct last fix.
--- sysdeps/posix/tempname.c.~2~ Tue Dec 15 18:35:45 1998
+++ sysdeps/posix/tempname.c Tue Dec 15 18:55:06 1998
@@ -71,7 +71,7 @@
else
dir = NULL;
}
- if (dir != NULL)
+ if (dir == NULL)
{
if (direxists (P_tmpdir))
dir = P_tmpdir;
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de