Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ghostscript and jemalloc



I have to admit that I absolutely don't know what I'm
doing, but the appended patch helps for me.

best regards
Matthias





-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich

Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------
$NetBSD$

--- src/gxfcopy.c.orig  2007-09-25 15:31:24.000000000 +0200
+++ src/gxfcopy.c
@@ -135,10 +135,7 @@ static ENUM_PTRS_WITH(copied_glyph_name_
      if (index < size / (uint)sizeof(gs_copied_glyph_name_t)) {
         const gs_copied_glyph_name_t *const p = &pcgn[index];
 
-        return (p->str.size == 0 ||
-                gs_is_c_glyph_name(p->str.data, p->str.size) ?
-                ENUM_CONST_STRING2(0, 0) :
-                ENUM_CONST_STRING(&p->str));
+        return (ENUM_CONST_STRING(&p->str));
      }
      return 0;
      /* We should mark glyph name here, but we have no access to 
@@ -151,7 +148,6 @@ static RELOC_PTRS_WITH(copied_glyph_name
     gs_copied_glyph_name_t *p = pcgn;
 
     for (; count > 0; --count, ++p)
-       if (p->str.size > 0 && !gs_is_c_glyph_name(p->str.data, p->str.size))
            RELOC_CONST_STRING_VAR(p->str);
 }
 RELOC_PTRS_END


Home | Main Index | Thread Index | Old Index