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]

Re: sysdeps/posix/tempname.c is broken.


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


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