[poppler] poppler/poppler: UnicodeMap.cc, 1.2,
1.3 UnicodeTypeTable.cc, 1.2, 1.3
Albert Astals Cid
aacid at freedesktop.org
Tue Sep 20 07:43:17 PDT 2005
Update of /cvs/poppler/poppler/poppler
In directory gabe:/tmp/cvs-serv31602/poppler
Modified Files:
UnicodeMap.cc UnicodeTypeTable.cc
Log Message:
* poppler/UnicodeMap.cc: More grealloc -> greallocn
* poppler/UnicodeTypeTable.cc: Merge from xpdf 3.01
Index: UnicodeMap.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/UnicodeMap.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- UnicodeMap.cc 16 Sep 2005 18:12:02 -0000 1.2
+++ UnicodeMap.cc 20 Sep 2005 14:43:15 -0000 1.3
@@ -69,7 +69,7 @@
if (map->len == size) {
size *= 2;
map->ranges = (UnicodeMapRange *)
- grealloc(map->ranges, size * sizeof(UnicodeMapRange));
+ greallocn(map->ranges, size, sizeof(UnicodeMapRange));
}
range = &map->ranges[map->len];
sscanf(tok1, "%x", &range->start);
@@ -81,7 +81,7 @@
if (map->eMapsLen == eMapsSize) {
eMapsSize += 16;
map->eMaps = (UnicodeMapExt *)
- grealloc(map->eMaps, eMapsSize * sizeof(UnicodeMapExt));
+ greallocn(map->eMaps, eMapsSize, sizeof(UnicodeMapExt));
}
eMap = &map->eMaps[map->eMapsLen];
sscanf(tok1, "%x", &eMap->u);
Index: UnicodeTypeTable.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/UnicodeTypeTable.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- UnicodeTypeTable.cc 16 Sep 2005 18:35:29 -0000 1.2
+++ UnicodeTypeTable.cc 20 Sep 2005 14:43:15 -0000 1.3
@@ -1,8 +1,8 @@
//========================================================================
//
-// UnicodeMapTables.cc
+// UnicodeTypeTable.cc
//
-// Copyright 2003 Glyph & Cog, LLC
+// Copyright 2004 Glyph & Cog, LLC
//
//========================================================================
More information about the poppler
mailing list