[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] Fix OpenBSD linker warnings
From: |
Blue Swirl |
Subject: |
[Qemu-devel] Re: [PATCH] Fix OpenBSD linker warnings |
Date: |
Sun, 17 Aug 2008 23:19:28 +0300 |
On 8/15/08, Blue Swirl <address@hidden> wrote:
> OpenBSD gcc issues warnings for some suspicious constructs, like:
> slirp/tcp_subr.c:1077: warning: Array size (256) smaller than format
> string size (257) (arg 3)
> vl.o(.text+0x7bc0): In function `drive_init':
> vl.c:5464: warning: strcpy() is almost always misused, please use strlcpy()
>
> This patch silences the warnings. Comments?
Updated patch with more fixes attached.
It's easy to make mistakes with these kind of changes, so review and
comments are welcome.
fix_obsd_ld_warnings.diff
Description: plain/text