Re: [PATCH] fix tmp directory removal

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

 



On Tue, Apr 09, 2013 at 12:16:38PM +0200, Peter Hatina wrote:
> Hi,
> 
> this should fix https://bugzilla.redhat.com/show_bug.cgi?id=882339
> 
> Are we ok with this short diff?

This patch is not against git master if I'm not mistaken (the unlink() are
no longer there, nor the ControllerWaitHelper method)

Christophe

> 
> ---
>  SpiceXPI/src/plugin/plugin.cpp | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/SpiceXPI/src/plugin/plugin.cpp b/SpiceXPI/src/plugin/plugin.cpp
> index 4a88e45..d5ca720 100644
> --- a/SpiceXPI/src/plugin/plugin.cpp
> +++ b/SpiceXPI/src/plugin/plugin.cpp
> @@ -996,7 +996,9 @@ void *nsPluginInstance::ControllerWaitHelper(void *opaque)
>      fake_this->m_external_controller.Disconnect();
>      fake_this->m_pid_controller = -1;
>      unlink(fake_this->m_trust_store_file.c_str());
> +    unlink(fake_this->m_foreign_file.c_str());
>      fake_this->m_trust_store_file.clear();
> +    fake_this->m_foreign_file.clear();
>      return NULL;
>  }
>  
> -- 
> Peter Hatina
> EMEA ENG-Base Operating Systems
> Red Hat Czech, Brno
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: pgpccxM20SYX3.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]