New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=338646f31ca2a5786454f02e17dc7b5adce137b9
commit 338646f31ca2a5786454f02e17dc7b5adce137b9
Author: Ville Syrjala <[email protected]>
Date: Wed Apr 29 23:04:22 2009 +0300
modules: Don't touch the module entry after dlclose()
When a module was unloaded with dlclose() the destructor function
(direct_modules_unregister() for the input drivers) was called. The
dtor freed the module entry but the code calling dlclose() proceeded to
fiddle with the already freed entry afterwards. Reorganize the code
slightly to avoid the problem and add a few comments to remind people
what may happen when dlclose() is called.
The problem sometimes manifested itself as a segfault when loading the
modules. Suppressing all but the required input modules was an
effective workaround for the problem.
lib/direct/modules.c | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=41ef7a58e47eaba0d35635a6031f10a31adb97d5
commit 41ef7a58e47eaba0d35635a6031f10a31adb97d5
Author: Ville Syrjala <[email protected]>
Date: Wed Apr 29 03:09:07 2009 +0300
modules: Simplify the path string handling
The code does unnecessary NULL checks which would have triggered an
assertion or segfault earlier. Also trying to avoid a few extra '/'
characters makes the code hard to read. Just make it simple.
lib/direct/modules.c | 25 ++++++++++---------------
1 files changed, 10 insertions(+), 15 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=2c9cca71b759af7e2bd124066b16f900e37dd4d0
commit 2c9cca71b759af7e2bd124066b16f900e37dd4d0
Author: Ville Syrjala <[email protected]>
Date: Fri Nov 28 00:12:06 2008 +0200
modules: Add some error checking and assertions
lib/direct/modules.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=5568eef87d2fdd15d2e331725eabb029671eef62
commit 5568eef87d2fdd15d2e331725eabb029671eef62
Author: Ville Syrjala <[email protected]>
Date: Fri Nov 28 00:11:52 2008 +0200
input: Check allocations
src/core/input.c | 19 +++++++++++++++++--
1 files changed, 17 insertions(+), 2 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=0a6ab4e7670baa225fbe89855279be6370ca210c
commit 0a6ab4e7670baa225fbe89855279be6370ca210c
Author: Ville Syrjala <[email protected]>
Date: Wed Apr 29 03:26:32 2009 +0300
configure: Remove a stray comma in summary output
configure.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=9b69da8350463103a8216f1661c7e9cdea5d9898
commit 9b69da8350463103a8216f1661c7e9cdea5d9898
Author: Ville Syrjala <[email protected]>
Date: Wed Apr 29 22:01:43 2009 +0300
gl: Link w/ -Wl,-no-undefined
gfxdrivers/gl/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=b6b6ebd0b805d2453e35e8941d09ab22fb6f8c81
commit b6b6ebd0b805d2453e35e8941d09ab22fb6f8c81
Author: Ville Syrjala <[email protected]>
Date: Wed Apr 29 03:09:30 2009 +0300
Makefiles: s/-export-dynamic/-module
Libtool's -export-dynamic option should be used when symbols from the
output file must be used to resolve undefined references. That is not
the case with our modules. Instead use the -module option which tells
libtool we're building a module that will be dlopened.
gfxdrivers/ati128/Makefile.am | 2 +-
gfxdrivers/cle266/Makefile.am | 2 +-
gfxdrivers/cyber5k/Makefile.am | 2 +-
gfxdrivers/davinci/Makefile.am | 2 +-
gfxdrivers/ep9x/Makefile.am | 2 +-
gfxdrivers/gl/Makefile.am | 2 +-
gfxdrivers/i810/Makefile.am | 2 +-
gfxdrivers/i830/Makefile.am | 2 +-
gfxdrivers/mach64/Makefile.am | 2 +-
gfxdrivers/matrox/Makefile.am | 2 +-
gfxdrivers/neomagic/Makefile.am | 2 +-
gfxdrivers/nsc/Makefile.am | 2 +-
gfxdrivers/nvidia/Makefile.am | 2 +-
gfxdrivers/omap/Makefile.am | 2 +-
gfxdrivers/radeon/Makefile.am | 2 +-
gfxdrivers/savage/Makefile.am | 2 +-
gfxdrivers/sh772x/Makefile.am | 6 +-----
gfxdrivers/sis315/Makefile.am | 2 +-
gfxdrivers/tdfx/Makefile.am | 2 +-
gfxdrivers/unichrome/Makefile.am | 2 +-
gfxdrivers/vmware/Makefile.am | 2 +-
inputdrivers/dbox2remote/Makefile.am | 2 +-
inputdrivers/dreamboxremote/Makefile.am | 2 +-
inputdrivers/dynapro/Makefile.am | 2 +-
inputdrivers/elo/Makefile.am | 2 +-
inputdrivers/gunze/Makefile.am | 2 +-
inputdrivers/h3600_ts/Makefile.am | 2 +-
inputdrivers/joystick/Makefile.am | 2 +-
inputdrivers/keyboard/Makefile.am | 2 +-
inputdrivers/linux_input/Makefile.am | 2 +-
inputdrivers/lirc/Makefile.am | 2 +-
inputdrivers/mutouch/Makefile.am | 2 +-
inputdrivers/penmount/Makefile.am | 2 +-
inputdrivers/ps2mouse/Makefile.am | 2 +-
inputdrivers/serialmouse/Makefile.am | 2 +-
inputdrivers/sonypi/Makefile.am | 2 +-
inputdrivers/tslib/Makefile.am | 2 +-
inputdrivers/ucb1x00_ts/Makefile.am | 2 +-
inputdrivers/wm97xx_ts/Makefile.am | 2 +-
inputdrivers/zytronic/Makefile.am | 2 +-
40 files changed, 40 insertions(+), 44 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=b4df34ce12f0739ac6d9105d808d22d56ee07eeb
commit b4df34ce12f0739ac6d9105d808d22d56ee07eeb
Author: Ville Syrjala <[email protected]>
Date: Wed Apr 29 03:06:54 2009 +0300
elo: Silence a compiler warning
inputdrivers/elo/elo.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=2803b16d3c853a76e50fc16c15fd195a5a78c620
commit 2803b16d3c853a76e50fc16c15fd195a5a78c620
Author: Ville Syrjala <[email protected]>
Date: Wed Apr 29 03:03:59 2009 +0300
mutouch/penmount/zytronic/sdl: Make the driver names match the file name
It's a lot easier to use disable-module when you can just look at the
module file name instead of having to dig through the source code.
inputdrivers/mutouch/mutouch.c | 2 +-
inputdrivers/penmount/penmount.c | 2 +-
inputdrivers/zytronic/zytronic.c | 2 +-
systems/sdl/sdlgfx.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs