Re: [Qemu-devel] [PATCH] fdt_ro.c: implement strnlen

2017-10-19 Thread Programmingkid
> On Oct 19, 2017, at 12:11 AM, David Gibson > wrote: > > On Wed, Oct 18, 2017 at 10:39:57PM -0400, Programmingkid wrote: >> >>> On Oct 18, 2017, at 9:31 PM, David Gibson >>> wrote: >>> >>> On Wed, Oct 18, 2017 at 06:31:16PM -0400, John Arbuckle wrote: Implement the strnlen() function

Re: [Qemu-devel] [PATCH] fdt_ro.c: implement strnlen

2017-10-19 Thread Peter Maydell
On 19 October 2017 at 05:11, David Gibson wrote: > On Wed, Oct 18, 2017 at 10:39:57PM -0400, Programmingkid wrote: >> QEMU supports Mac OS 10.5 and higher. The strnlen() function might >> have been added to Mac OS X in version 10.7. > > Wow. No strnlen() in MacOS until that recently, that's prett

Re: [Qemu-devel] [PATCH] fdt_ro.c: implement strnlen

2017-10-18 Thread David Gibson
On Wed, Oct 18, 2017 at 10:39:57PM -0400, Programmingkid wrote: > > > On Oct 18, 2017, at 9:31 PM, David Gibson > > wrote: > > > > On Wed, Oct 18, 2017 at 06:31:16PM -0400, John Arbuckle wrote: > >> Implement the strnlen() function if it isn't implemented. > >> > >> Signed-off-by: John Arbuckl

Re: [Qemu-devel] [PATCH] fdt_ro.c: implement strnlen

2017-10-18 Thread Programmingkid
> On Oct 18, 2017, at 9:31 PM, David Gibson wrote: > > On Wed, Oct 18, 2017 at 06:31:16PM -0400, John Arbuckle wrote: >> Implement the strnlen() function if it isn't implemented. >> >> Signed-off-by: John Arbuckle > > Nice idea, but this won't work. > >> --- >> libfdt/fdt_ro.c | 24 +

Re: [Qemu-devel] [PATCH] fdt_ro.c: implement strnlen

2017-10-18 Thread David Gibson
On Wed, Oct 18, 2017 at 06:31:16PM -0400, John Arbuckle wrote: > Implement the strnlen() function if it isn't implemented. > > Signed-off-by: John Arbuckle Nice idea, but this won't work. > --- > libfdt/fdt_ro.c | 24 > 1 file changed, 24 insertions(+) > > diff --git

[Qemu-devel] [PATCH] fdt_ro.c: implement strnlen

2017-10-18 Thread John Arbuckle
Implement the strnlen() function if it isn't implemented. Signed-off-by: John Arbuckle --- libfdt/fdt_ro.c | 24 1 file changed, 24 insertions(+) diff --git a/libfdt/fdt_ro.c b/libfdt/fdt_ro.c index 3d00d2e..a7986fb 100644 --- a/libfdt/fdt_ro.c +++ b/libfdt/fdt_ro.c @@