comparison src/ChangeLog @ 4847:05c519de7353

be more careful when printing to check for bad objects -------------------- ChangeLog entries follow: -------------------- src/ChangeLog addition: 2010-01-13 Ben Wing <ben@xemacs.org> * print.c: * print.c (internal_object_printer): * print.c (enum printing_badness): * print.c (printing_major_badness): * print.c (print_internal): Clean up the part of the code that looks for things that might lead to crashing in the print code: -- Make the "badness" messages more consistent. -- Move the checks for circularities after the checks for bad memory, since the checks for circularities involve accessing memory (which could be bad). -- Add an extra check to see if the object's implementation structure is bad memory. -- Add extra check for object itself being a null pointer or implementation pointer being null. -- Add some extra comments to help in maintaining the code.
author Ben Wing <ben@xemacs.org>
date Wed, 13 Jan 2010 06:02:42 -0600
parents a98ca4640147
children bde90bc762f2
comparison
equal deleted inserted replaced
4846:a98ca4640147 4847:05c519de7353
1 2010-01-13 Ben Wing <ben@xemacs.org>
2
3 * print.c:
4 * print.c (internal_object_printer):
5 * print.c (enum printing_badness):
6 * print.c (printing_major_badness):
7 * print.c (print_internal):
8 Clean up the part of the code that looks for things that might
9 lead to crashing in the print code:
10 -- Make the "badness" messages more consistent.
11 -- Move the checks for circularities after the checks for bad
12 memory, since the checks for circularities involve accessing
13 memory (which could be bad).
14 -- Add an extra check to see if the object's implementation structure
15 is bad memory.
16 -- Add extra check for object itself being a null pointer or
17 implementation pointer being null.
18 -- Add some extra comments to help in maintaining the code.
19
1 2010-01-13 Ben Wing <ben@xemacs.org> 20 2010-01-13 Ben Wing <ben@xemacs.org>
2 21
3 * casetab.c (print_case_table): 22 * casetab.c (print_case_table):
4 * console.c (print_console): 23 * console.c (print_console):
5 * data.c (print_weak_list): 24 * data.c (print_weak_list):