From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NkiEi-0007Ga-G1 for qemu-devel@nongnu.org; Thu, 25 Feb 2010 13:14:56 -0500 Received: from [199.232.76.173] (port=46352 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkiEh-0007GS-P9 for qemu-devel@nongnu.org; Thu, 25 Feb 2010 13:14:55 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NkiEh-0005Kn-8I for qemu-devel@nongnu.org; Thu, 25 Feb 2010 13:14:55 -0500 Received: from mail-bw0-f218.google.com ([209.85.218.218]:52243) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NkiEg-0005Kf-So for qemu-devel@nongnu.org; Thu, 25 Feb 2010 13:14:55 -0500 Received: by bwz10 with SMTP id 10so1431733bwz.2 for ; Thu, 25 Feb 2010 10:14:50 -0800 (PST) Sender: Paolo Bonzini Message-ID: <4B86BE16.7050200@redhat.com> Date: Thu, 25 Feb 2010 19:14:46 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: commit d354899 (Fix OpenBSD linker warning, 2010-02-23) List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel@nongnu.org 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. :-)