Commit 448872e7 authored by Mike Gabriel's avatar Mike Gabriel

Add patch: 011_nxcomp_sa-restorer.patch.

parent 82e5023e
......@@ -76,6 +76,7 @@ nx-libs (2:3.5.0-2) UNRELEASED; urgency=low
* Fix linking of doc folders for nxcomp*-dev.
* Transfer patch: 009_nxproxy_add-man-page.patch into man page file
in /debian/man.
* Add patch: 011_nxcomp_sa-restorer.patch.
-- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Wed, 28 Dec 2011 19:06:26 +0100
......
Description: sa_restorer vs. memset
Use memset instead of setting .sa_restorer to NULL.
Forwarded: not-yet
Author: Stéphane Graber <stgraber@ubuntu.com>
Last-Update: 2011-12-31
--- a/Loop.cpp
+++ b/Loop.cpp
@@ -5895,7 +5895,7 @@ void InstallSignal(int signal, int action)
#if defined(__linux__)
- newAction.sa_restorer = NULL;
+ memset(&newAction, NULL, sizeof(newAction));
#endif
@@ -6513,7 +6513,7 @@ void SetTimer(int value)
#if defined(__linux__)
- action.sa_restorer = NULL;
+ memset(&action, NULL, sizeof(action));
#endif
......@@ -4,6 +4,7 @@
004_nx-x11_fix-nxcompshad-build.patch
007_nxcompshad_clean-gch-files.patch
010_nxauth_fix-binary-name-in-man-page.patch
011_nxcomp_sa-restorer.patch
012_nxcomp_makefile-uninstall.patch
013_nxcompext_makefile-uninstall.patch
014_nxcompshad_makefile-uninstall.patch
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment