bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/272] misleading warning message on linking with tmpnam()


From: ian at wasabisystems dot com
Subject: [Bug ld/272] misleading warning message on linking with tmpnam()
Date: 21 Jul 2004 15:12:55 -0000

------- Additional Comments From ian at wasabisystems dot com  2004-07-21 15:12 
-------
Subject: Re:  misleading warning message on linking with tmpnam()

"nickc at redhat dot com" <address@hidden> writes:

> ------- Additional Comments From nickc at redhat dot com  2004-07-21 14:11 
> -------
> Hi,
> 
>   Actually the warning is useful, so I do not intend to remove it.  If you do
> not want to see it you can always pass the linker's output through grep.
> 
>   I do agree that the wording could be better, so how about:
> 
> "warning: the use of `tmpnam' is dangerous, consider using `mkstemp' instead"

This warning isn't actually coming from the linker, I hope.

I assumed it was coming from a glibc warning section.

The linker itself has no business issuing such warnings.  If it is
somehow the linker, the warning should be removed.  If it is glibc as
I suspect, the binutils PR should be closed as a glibc bug.

Ian


-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=272

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]