[PATCH v2] os: Prevent backtrace from being stopped in noreturn functions.

2010-03-17 Thread Rami Ylimaki
the documentation of GNU Automake manual, version 1.11.1, section 27.8 Per-Object Flags Emulation, for details. Signed-off-by: Rami Ylimaki ext-rami.ylim...@nokia.com --- Fixed based on previous review feedback. I'm aware that GCC should also be fixed at some point, but nevertheless it'd be nice

[PATCH] XF86Keysym: Add XF86XK_WebCamFocus.

2010-01-28 Thread Rami Ylimaki
Add matching definition for XF86WebCamFocus in XKeysymDB. Signed-off-by: Rami Ylimaki ext-rami.ylim...@nokia.com --- Previous message/patch only modified XKeysymDB. XF86keysym.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/XF86keysym.h b/XF86keysym.h index 200f5c1

[PATCH v3 0/2] Prevent core dump from being truncated.

2010-01-28 Thread Rami Ylimaki
v1: Prevent smart scheduler timer from expiring when aborting. v2: Block signals just before abort. v3: Removed always true boolean parameter from OsAbort. Rami Ylimaki (2): os: Introduce OsAbort for proper core dumps. os: Prevent core dump from being truncated. composite/compwindow.c

[PATCH v3 2/2] os: Prevent core dump from being truncated.

2010-01-28 Thread Rami Ylimaki
core dump. Signed-off-by: Rami Ylimaki ext-rami.ylim...@nokia.com --- composite/compwindow.c |2 +- glx/glthread.c |2 +- hw/dmx/examples/xinput.c|2 +- hw/kdrive/src/kdrive.c |2 +- hw/xfree86/common/xf86Init.c|2 +- hw/xquartz/GL

[PATCH] XKeysymDB: Add XF86WebCamFocus.

2010-01-27 Thread Rami Ylimaki
is mapped to XF86WebCam. However, there isn't a good symbol for camera focus yet. Signed-off-by: Rami Ylimaki ext-rami.ylim...@nokia.com --- The keycode of KEY_CAMERA_FOCUS is currently higher than 255 so it won't get through X server. However, this is a separate issue and I'd like to be able to use

[PATCH] os: Prevent core dump from being truncated.

2010-01-12 Thread Rami Ylimaki
during core dump. Signed-off-by: Rami Ylimaki ext-rami.ylim...@nokia.com --- os/osinit.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/os/osinit.c b/os/osinit.c index 74e2457..9a9e4e4 100644 --- a/os/osinit.c +++ b/os/osinit.c @@ -208,5 +208,6 @@ OsCleanup(Bool terminating

[PATCH 1/2] os: Introduce OsAbort for proper core dumps.

2010-01-12 Thread Rami Ylimaki
Signed-off-by: Rami Ylimaki ext-rami.ylim...@nokia.com --- include/os.h |2 ++ os/utils.c | 13 + 2 files changed, 15 insertions(+), 0 deletions(-) diff --git a/include/os.h b/include/os.h index dad1af7..831498a 100644 --- a/include/os.h +++ b/include/os.h @@ -262,6 +262,8

[PATCH 2/2] os: Prevent core dump from being truncated.

2010-01-12 Thread Rami Ylimaki
core dump. Signed-off-by: Rami Ylimaki ext-rami.ylim...@nokia.com --- composite/compwindow.c |2 +- glx/glthread.c |2 +- hw/dmx/examples/xinput.c|2 +- hw/kdrive/src/kdrive.c |2 +- hw/xfree86/common/xf86Init.c|2 +- hw/xquartz/GL

[PATCH v2 0/2] Prevent core dump from being truncated.

2010-01-12 Thread Rami Ylimaki
Using OsBlockSignals() works also as suggested by Daniel. Here is a second version of patches to fix this. For completeness, every abort call is replaced by a call that blocks the signals before aborting. Rami Ylimaki (2): os: Introduce OsAbort for proper core dumps. os: Prevent core dump

[PATCH] dix: Fixes a memory leak when a cursor resource is released.

2009-11-04 Thread Rami Ylimaki
Just open and close a client that creates cursors in order to reproduce. In the problem case bits-refcnt is -1 and therefore bits-devPrivates is never released. Signed-off-by: Rami Ylimaki ext-rami.ylim...@nokia.com --- dix/cursor.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions

[PATCH] dix: Add null pointer check to prevent crash.

2009-08-06 Thread Rami Ylimaki
Signed-off-by: Rami Ylimaki ext-rami.ylim...@nokia.com --- dix/events.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dix/events.c b/dix/events.c index ec6aff7..448683f 100644 --- a/dix/events.c +++ b/dix/events.c @@ -5421,7 +5421,7 @@ DeleteWindowFromAnyEvents

[PATCH] xkbcomp: Remove output file if closing fails.

2009-08-05 Thread Rami Ylimaki
Without the fix xkbcomp may leave a truncated file in the filesystem if there is not enough disk space. Using the truncated file leads to problems. Signed-off-by: Rami Ylimaki ext-rami.ylim...@nokia.com --- xkbcomp.c | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff