This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
L_tmpnam in stdio_lim.h
- To: libc-hacker@cygnus.com
- Subject: L_tmpnam in stdio_lim.h
- From: NIIBE Yutaka <gniibe@mri.co.jp>
- Date: Sat, 10 Oct 1998 22:24:45 +0900 (JST)
Hi,
I changed my environment to GNU Libc 2.0.97 from 2.0.94. I've found
imake core dumps when I set TMPDIR=/var/tmp.
This is because imake calls tmpnam with NULL argument and doesn't
check its return value.
But if it L_tmpnam is more than or equal to 20, imake wouldn't dump
core... (sizeof ("/var/tmp/fileXXXXXX") == 20).
Is there any reason why L_tmpnam is 19?
Thanks,
--