qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 4/5] libcacard: replace qemu thread primitives w


From: Christophe Fergeau
Subject: Re: [Qemu-devel] [PATCH 4/5] libcacard: replace qemu thread primitives with glib ones
Date: Tue, 29 Apr 2014 10:26:04 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hey, patch looks good

On Tue, Apr 29, 2014 at 10:02:27AM +0400, Michael Tokarev wrote:
> Replace QemuMutex with GMutex and QemuCond with GCond
> (with corresponding function changes), to make libcacard
> independent of qemu internal functions.
> 
> Also replace single instance pstrcpy() in vcard_emul_nss.c
> to strncpy().  This reverts commit 2e679780ae86c6ca8.

An alternative would be to use g_strlcpy which guarantees
nul-termination.

Christophe



reply via email to

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