qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v5 1/3] osdep: Add a function to get the current


From: Richard W.M. Jones
Subject: Re: [Qemu-devel] [PATCH v5 1/3] osdep: Add a function to get the current username.
Date: Thu, 4 Apr 2013 10:28:12 +0100
User-agent: Mutt/1.5.20 (2009-12-10)

On Thu, Apr 04, 2013 at 10:08:10AM +0100, Peter Maydell wrote:
> On 3 April 2013 23:17, Richard W.M. Jones <address@hidden> 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() ?

None; I'll change the patch accordingly in the next version.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)



reply via email to

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