The original poster was right.
The following patch should fix it. I'll check it in as soon as my test cycle is
over.

Cheers.
-- 
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
[EMAIL PROTECTED] | Fingerprint: D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9

Index: lib/libc/stdio/tmpfile.c
===================================================================
RCS file: /home/ncvs/src/lib/libc/stdio/tmpfile.c,v
retrieving revision 1.8
diff -u -r1.8 tmpfile.c
--- lib/libc/stdio/tmpfile.c    13 Oct 2002 11:22:16 -0000      1.8
+++ lib/libc/stdio/tmpfile.c    5 Feb 2003 23:37:28 -0000
@@ -61,6 +61,7 @@
        char *buf;
        const char *tmpdir;
 
+       tmpdir = NULL;
        if (issetugid() == 0)
                tmpdir = getenv("TMPDIR");
        if (tmpdir == NULL)

Attachment: msg51851/pgp00000.pgp
Description: PGP signature

Reply via email to