|
From: | Paolo Bonzini |
Subject: | [Qemu-devel] Re: commit d354899 (Fix OpenBSD linker warning, 2010-02-23) |
Date: | Thu, 25 Feb 2010 19:14:46 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Fedora/3.0.1-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.1 |
On 02/25/2010 06:37 PM, Blue Swirl wrote:
> > What's wrong with strcpy?:-) (I doubt OpenBSD warns about that too).But of course, with code containing strcpy() you get this: LINK i386-softmmu/qemu i386-dis.o(.text+0x3aac): In function `oappend': /src/qemu/i386-dis.c:4656: warning: strcpy() is almost always misused, p lease use strlcpy() /usr/X11R6/lib/libX11.so.11.2: warning: strcat() is almost always misuse d, please use strlcat()
That's debatable to say the least, but anyway thanks for correcting me. :-)
[Prev in Thread] | Current Thread | [Next in Thread] |