Re: [AD] Strange crash with recent WIP |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 26 Jun 2001, Grzegorz Adam Hankiewicz <gradha@xxxxxxxxxx> wrote:
> Since the only recent
> changes were made to the unicode API and the dynamic modules system, I
> think the latter is the culprit, especially since X works correctly under
> every situation with the latest WIP, but it may be another thing, of
> course.
It was an extremely silly mistake by me. The following has been
committed. I guess I didn't catch it because `realloc' didn't move
the memory block for me.
diff -u -r1.8 lsystem.c
--- src/linux/lsystem.c 2001/06/24 14:53:21 1.8
+++ src/linux/lsystem.c 2001/06/26 06:05:24
@@ -189,7 +189,7 @@
/* Initialise dynamic driver lists */
dynamic_gfx_driver_list = _create_driver_list();
if (dynamic_gfx_driver_list)
- _driver_list_add_list(dynamic_gfx_driver_list, _linux_gfx_driver_list);
+ dynamic_gfx_driver_list = _driver_list_add_list(dynamic_gfx_driver_list, _linux_gfx_driver_list);
_unix_driver_lists_init();
/* Load dynamic modules */
P.S. Thanks for a great report. I fixed it in about 30 seconds :-)
--
tjaden@xxxxxxxxxx - http://www.alphalink.com.au/~tjaden/
SPRACHETT (SPRA chit), n. The rubber bar at a checkout counter that
separates one load of groceries from another. -- Rich Hall, "Sniglets"