1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-28 03:06:20 -04:00

NULL-terminate cache_entry_props. This and the last change resolves

crashes with GCC 2.x and 3.x reported by zas.
This commit is contained in:
Miciah Dashiel Butler Masters 2005-12-20 22:10:59 +00:00 committed by Miciah Dashiel Butler Masters
parent bb4f08172b
commit 9e15d09340

View File

@ -25,6 +25,7 @@ static const JSPropertySpec cache_entry_props[] = {
{ "type", CACHE_ENTRY_TYPE, JSPROP_ENUMERATE },
{ "length", CACHE_ENTRY_LENGTH, JSPROP_ENUMERATE | JSPROP_READONLY },
{ "head", CACHE_ENTRY_HEAD, JSPROP_ENUMERATE },
{ NULL }
};
static JSBool