On Thu, Apr 04, 2013 at 10:08:10AM +0100, Peter Maydell wrote:
> On 3 April 2013 23:17, Richard W.M. Jones wrote:
> > +/*
> > + * Get the login name of the current user. The string must be freed
> > + * up by the caller. If the current user could not be determined,
> > + * returns NULL and sets
On 3 April 2013 23:17, Richard W.M. Jones wrote:
> +/*
> + * Get the login name of the current user. The string must be freed
> + * up by the caller. If the current user could not be determined,
> + * returns NULL and sets errno.
> + */
Any reason we can't just use g_get_user_name() ?
-- PMM
From: "Richard W.M. Jones"
Signed-off-by: Richard W.M. Jones
---
include/qemu/osdep.h | 2 ++
util/osdep.c | 49 -
2 files changed, 50 insertions(+), 1 deletion(-)
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h
index df24400..8