Codebase list gdcm / debian/2.8.7-5
Adapt patch, and upstream it: https://github.com/malaterre/GDCM/pull/69 Gianfranco Costamagna 5 years ago
1 changed file(s) with 11 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
5252 int year, mon, day, hour, min, sec, n;
5353 struct tm tmStruct;
5454 //char buf[256];
55 @@ -104,7 +104,7 @@
55 @@ -49,7 +49,8 @@
56 if (infoDict->lookup((char*)key, &obj)->isString())
57 #endif
58 {
59 - s = obj.getString()->getCString();
60 + const GooString* gs = obj.getString();
61 + s = gs->getCString();
62 if (s[0] == 'D' && s[1] == ':')
63 {
64 s += 2;
65 @@ -104,7 +105,7 @@
5666 static std::string getInfoString(Dict *infoDict, const char *key, UnicodeMap *uMap, GBool & unicode)
5767 {
5868 Object obj;