summaryrefslogtreecommitdiffstats
path: root/modules/libmar/src/mar.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-09-11 09:09:21 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-09-11 09:09:21 +0200
commitea86809071918516793f5a4b2096c8aea324bb06 (patch)
tree3136281180d452883a306cef0ee109335b1987fd /modules/libmar/src/mar.h
parentca36e991ea55f2d9f78bab558fef10720c9244f0 (diff)
downloadUXP-ea86809071918516793f5a4b2096c8aea324bb06.tar
UXP-ea86809071918516793f5a4b2096c8aea324bb06.tar.gz
UXP-ea86809071918516793f5a4b2096c8aea324bb06.tar.lz
UXP-ea86809071918516793f5a4b2096c8aea324bb06.tar.xz
UXP-ea86809071918516793f5a4b2096c8aea324bb06.zip
Bug 1473113 - Defer initializing the MAR index until it's needed.
Diffstat (limited to 'modules/libmar/src/mar.h')
-rw-r--r--modules/libmar/src/mar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/libmar/src/mar.h b/modules/libmar/src/mar.h
index 98b454d94..776daf648 100644
--- a/modules/libmar/src/mar.h
+++ b/modules/libmar/src/mar.h
@@ -48,6 +48,7 @@ typedef struct MarItem_ {
struct MarFile_ {
FILE *fp;
MarItem *item_table[TABLESIZE];
+ int item_table_is_valid;
};
typedef struct MarFile_ MarFile;