Bug 18930

Summary: Fix mktemp() problem with libg2c
Product: Base System Reporter: gjohnson <gjohnson>
Component: gnuAssignee: David E. O'Brien <obrien>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description gjohnson 2000-06-01 04:20:00 UTC
        libg2c uses mktemp() and tempnam() which causes all Fortran
programs linked with it to issue a warning upon linking and of course
makes the resulting binaries susceptible to problems of mktemp().

Fix: Apply the following patch in the /usr/src/contrib/libf2c/libI77
subdirectory.
How-To-Repeat: 
        Compile and link any Fortran program with FreeBSD 4. I do not
know if this applies to CURRENT, but I suspect it does.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-07 14:47:10 UTC
Responsible Changed
From-To: freebsd-bugs->obrien

Although f2c has been punted into the compat hierarchy, it's 
going to stay there for a while.  David can decide whether 
this is worth chasing up.
Comment 2 David E. O'Brien freebsd_committer freebsd_triage 2000-11-10 17:52:58 UTC
State Changed
From-To: open->closed

I don't make such supurlative changes in src/contrib/ software. 
Maybe a PR should be opened on the code that outputs the warning and have 
a way to turn it off on a case by case basis.