[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH]class-of error when goops hasn't been loaded
From: |
Stephen Compall |
Subject: |
[PATCH]class-of error when goops hasn't been loaded |
Date: |
23 Jan 2004 23:22:22 -0600 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Problem: class-of was returning some of various scm_class_* objects
when they hadn't been initialized, which caused segfault if you were
lucky.
Solution?: this patch has scm_class_boolean initially set to 0, and
tested on each call to class-of. If it hasn't been set, class-of
throws goops-error.
The other way to do it would be to not register scm_class_of as
class-of until GOOPS is loaded.
--
Stephen Compall or s11 or sirian
TOO BAD YOU CAN'T BUY a voodoo globe so that you could make the earth spin
real fast and freak everybody out.
-- Jack Handley, The New Mexican, 1988.
UFO Khaddafi FIPS140 encryption emc Firefly LLNL AIEWS fraud Ft. Bragg
asset lynch Skipjack explosion government
class-of-goops-not-loaded.patch
Description: changes to libguile/objects.c
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH]class-of error when goops hasn't been loaded,
Stephen Compall <=