[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#100543: open.o uses tempnam instead of mkstemp



Package: g77-2.95
Version: 1:2.95.4-0.010424
Severity: normal

I've got a mixed language program that has FORTRAN 77 and C. It runs cleanly
on other Unix-like operating systems, but when I ran it on Linux, I see the
follow message once when a F77 program is run:

/usr/lib/gcc-lib/i386-linux/2.95.4/libg2c.a(open.o): In function `f_open':
open.o(.text+0x637): the use of `tempnam' is dangerous, better use `mkstemp'


-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux driftcreek 2.2.19 #5 Wed May 9 15:25:07 PDT 2001 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages g77-2.95 depends on:
ii  g77                    1:2.95.3-7        The GNU Fortran 77 compiler.      
ii  gcc-2.95               1:2.95.4-0.010424 The GNU C compiler.               
ii  libc6                  2.2.3-5           GNU C Library: Shared libraries an




Reply to: