Re: [Qemu-devel] [PATCH for 2.10] slirp/smb: Replace constant strings by glib string

2017-04-08 Thread Samuel Thibault
Hello, Applied to my tree, thanks! Samuel

Re: [Qemu-devel] [PATCH for 2.10] slirp/smb: Replace constant strings by glib string

2017-04-07 Thread Dr. David Alan Gilbert
* Eric Blake (ebl...@redhat.com) wrote: > On 04/07/2017 09:56 AM, Dr. David Alan Gilbert wrote: > > > > >> The cleanup is useful, and resolves one of the build issues I pointed > >> out earlier on Rawhide (looks like it is now Fedora 26 in addition to > >> Rawhide that have new-enough gcc). In

Re: [Qemu-devel] [PATCH for 2.10] slirp/smb: Replace constant strings by glib string

2017-04-07 Thread Eric Blake
On 04/07/2017 09:56 AM, Dr. David Alan Gilbert wrote: > >> The cleanup is useful, and resolves one of the build issues I pointed >> out earlier on Rawhide (looks like it is now Fedora 26 in addition to >> Rawhide that have new-enough gcc). In that thread, we argued that it's >> not going to be

Re: [Qemu-devel] [PATCH for 2.10] slirp/smb: Replace constant strings by glib string

2017-04-07 Thread Dr. David Alan Gilbert
* Eric Blake (ebl...@redhat.com) wrote: > On 04/07/2017 09:32 AM, Dr. David Alan Gilbert (git) wrote: > > From: "Dr. David Alan Gilbert" > > > > gcc 7 (on fedora 26) objects to many of the snprintf's > > in the smb path and command creation because it can't > > figure out

Re: [Qemu-devel] [PATCH for 2.10] slirp/smb: Replace constant strings by glib string

2017-04-07 Thread Eric Blake
On 04/07/2017 09:32 AM, Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > gcc 7 (on fedora 26) objects to many of the snprintf's > in the smb path and command creation because it can't > figure out that the smb_dir (i.e. the /tmp dir for the

[Qemu-devel] [PATCH for 2.10] slirp/smb: Replace constant strings by glib string

2017-04-07 Thread Dr. David Alan Gilbert (git)
From: "Dr. David Alan Gilbert" gcc 7 (on fedora 26) objects to many of the snprintf's in the smb path and command creation because it can't figure out that the smb_dir (i.e. the /tmp dir for the configuration) is known to be short. Replace all these fixed length buffers by